]> git.lizzy.rs Git - rust.git/commitdiff
s/foo/main/
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 19 Jan 2018 13:24:06 +0000 (08:24 -0500)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2018 13:24:06 +0000 (08:24 -0500)
src/test/ui/issue-29723.rs

index 9f36486e813da02b55e431c1d56e1f72e2ad7f4e..248e44dcc02333ff56c99a1823f876cb2fcb6f4e 100644 (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"),