X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fmain-wrong-location.rs;h=d7deeaed99da265dc77fa1519144cfcb4ce94437;hb=95561b336cf82a8250176eb3c61ea61c90e75d47;hp=f3acd80a7a48f0797a456bbd2b16794a135bcade;hpb=f92a0c8031339b1913e8ca89b1a9311c129c1091;p=rust.git diff --git a/src/test/ui/main-wrong-location.rs b/src/test/ui/main-wrong-location.rs index f3acd80a7a4..d7deeaed99d 100644 --- a/src/test/ui/main-wrong-location.rs +++ b/src/test/ui/main-wrong-location.rs @@ -1,6 +1,5 @@ mod m { -//~^ ERROR `main` function not found // An inferred main entry point // must appear at the top of the crate fn main() { } -} +} //~ ERROR `main` function not found