@@ -16,25 +16,25 @@ error[E0541]: unknown meta item 'reason'
1616LL | #[deprecated(since = "a", note = "a", reason)]
1717 | ^^^^^^ expected one of `since`, `note`
1818
19- error[E0551 ]: incorrect meta item
19+ error[E0539 ]: incorrect meta item
2020 --> $DIR/deprecation-sanity.rs:7:31
2121 |
2222LL | #[deprecated(since = "a", note)]
2323 | ^^^^
2424
25- error[E0551 ]: incorrect meta item
25+ error[E0539 ]: incorrect meta item
2626 --> $DIR/deprecation-sanity.rs:10:18
2727 |
2828LL | #[deprecated(since, note = "a")]
2929 | ^^^^^
3030
31- error[E0551 ]: incorrect meta item
31+ error[E0539 ]: incorrect meta item
3232 --> $DIR/deprecation-sanity.rs:13:31
3333 |
3434LL | #[deprecated(since = "a", note(b))]
3535 | ^^^^^^^
3636
37- error[E0551 ]: incorrect meta item
37+ error[E0539 ]: incorrect meta item
3838 --> $DIR/deprecation-sanity.rs:16:18
3939 |
4040LL | #[deprecated(since(b), note = "a")]
@@ -70,5 +70,5 @@ LL | #[deprecated = "hello"]
7070
7171error: aborting due to 10 previous errors
7272
73- Some errors have detailed explanations: E0538, E0541, E0551 , E0565.
73+ Some errors have detailed explanations: E0538, E0539, E0541 , E0565.
7474For more information about an error, try `rustc --explain E0538`.
0 commit comments