From 297595532cbbd79dbb6a90dc400da8e5e0911395 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 19 Jan 2018 08:24:06 -0500 Subject: [PATCH] s/foo/main/ --- src/test/ui/issue-29723.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/issue-29723.rs b/src/test/ui/issue-29723.rs index 9f36486e813..248e44dcc02 100644 --- a/src/test/ui/issue-29723.rs +++ b/src/test/ui/issue-29723.rs @@ -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"),