]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/test-should-panic-attr.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / test-should-panic-attr.stderr
index 6f143b6cbeeba3a460f3947e0fc48516f2aeae89..09bd54698083b844bcc90c88be48e29d54521020 100644 (file)
@@ -1,7 +1,7 @@
 warning: attribute must be of the form: `#[should_panic]` or `#[should_panic(expected = "error message")]`
   --> $DIR/test-should-panic-attr.rs:15:1
    |
-15 | #[should_panic = "foo"]
+LL | #[should_panic = "foo"]
    | ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: Errors in this attribute were erroneously allowed and will become a hard error in a future release.
@@ -9,7 +9,7 @@ warning: attribute must be of the form: `#[should_panic]` or `#[should_panic(exp
 warning: argument must be of the form: `expected = "error message"`
   --> $DIR/test-should-panic-attr.rs:22:1
    |
-22 | #[should_panic(expected)]
+LL | #[should_panic(expected)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: Errors in this attribute were erroneously allowed and will become a hard error in a future release.
@@ -17,7 +17,7 @@ warning: argument must be of the form: `expected = "error message"`
 warning: argument must be of the form: `expected = "error message"`
   --> $DIR/test-should-panic-attr.rs:29:1
    |
-29 | #[should_panic(expect)]
+LL | #[should_panic(expect)]
    | ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: Errors in this attribute were erroneously allowed and will become a hard error in a future release.
@@ -25,7 +25,7 @@ warning: argument must be of the form: `expected = "error message"`
 warning: argument must be of the form: `expected = "error message"`
   --> $DIR/test-should-panic-attr.rs:36:1
    |
-36 | #[should_panic(expected(foo, bar))]
+LL | #[should_panic(expected(foo, bar))]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: Errors in this attribute were erroneously allowed and will become a hard error in a future release.
@@ -33,7 +33,7 @@ warning: argument must be of the form: `expected = "error message"`
 warning: argument must be of the form: `expected = "error message"`
   --> $DIR/test-should-panic-attr.rs:43:1
    |
-43 | #[should_panic(expected = "foo", bar)]
+LL | #[should_panic(expected = "foo", bar)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: Errors in this attribute were erroneously allowed and will become a hard error in a future release.