]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/test-should-panic-attr.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / test-should-panic-attr.rs
index 1b5afdaa89b6cea84c8cf8f8a77832f31d74c4d1..f936dd5758747f8d05f0babbbcfa4b6dce1bfb4e 100644 (file)
@@ -1,9 +1,8 @@
-// run-pass
+// compile-pass
 // compile-flags: --test
 
 #[test]
 #[should_panic = "foo"]
-//~^ WARN: attribute must be of the form:
 fn test1() {
     panic!();
 }