s/foo/main/

This commit is contained in:
Niko Matsakis 2018-01-19 08:24:06 -05:00 committed by GitHub
parent 101f1e1193
commit 297595532c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
// test for https://github.com/rust-lang/rust/issues/29723
fn foo() {
fn main() {
let s = String::new();
let _s = match 0 {
0 if { drop(s); false } => String::from("oops"),