about summary refs log tree commit diff
path: root/tests/ui/elided-test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/elided-test.rs')
-rw-r--r--tests/ui/elided-test.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/elided-test.rs b/tests/ui/elided-test.rs
index 025b75c1b5c..2bedc25e17b 100644
--- a/tests/ui/elided-test.rs
+++ b/tests/ui/elided-test.rs
@@ -1,7 +1,5 @@
-//@ error-pattern: `main` function not found
-
 // Since we're not compiling a test runner this function should be elided
 // and the build will fail because main doesn't exist
 #[test]
 fn main() {
-}
+} //~ ERROR `main` function not found in crate `elided_test`