rust/tests/ui/test-attrs/test-should-panic-attr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.2 KiB
Plaintext
Raw Normal View History

warning: argument must be of the form: `expected = "error message"`
--> $DIR/test-should-panic-attr.rs:11:1
|
2018-02-22 18:42:32 -06:00
LL | #[should_panic(expected)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-10-03 01:53:02 -05:00
= note: errors in this attribute were erroneously allowed and will become a hard error in a future release
warning: argument must be of the form: `expected = "error message"`
--> $DIR/test-should-panic-attr.rs:18:1
|
2018-02-22 18:42:32 -06:00
LL | #[should_panic(expect)]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2021-10-03 01:53:02 -05:00
= note: errors in this attribute were erroneously allowed and will become a hard error in a future release
warning: argument must be of the form: `expected = "error message"`
--> $DIR/test-should-panic-attr.rs:25:1
|
2018-02-22 18:42:32 -06:00
LL | #[should_panic(expected(foo, bar))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-10-03 01:53:02 -05:00
= note: errors in this attribute were erroneously allowed and will become a hard error in a future release
warning: argument must be of the form: `expected = "error message"`
--> $DIR/test-should-panic-attr.rs:32:1
|
2018-02-22 18:42:32 -06:00
LL | #[should_panic(expected = "foo", bar)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-10-03 01:53:02 -05:00
= note: errors in this attribute were erroneously allowed and will become a hard error in a future release
warning: 4 warnings emitted