@@ -16,25 +16,25 @@ error[E0541]: unknown meta item 'reason'
16
16
LL | #[deprecated(since = "a", note = "a", reason)]
17
17
| ^^^^^^ expected one of `since`, `note`
18
18
19
- error[E0551 ]: incorrect meta item
19
+ error[E0539 ]: incorrect meta item
20
20
--> $DIR/deprecation-sanity.rs:7:31
21
21
|
22
22
LL | #[deprecated(since = "a", note)]
23
23
| ^^^^
24
24
25
- error[E0551 ]: incorrect meta item
25
+ error[E0539 ]: incorrect meta item
26
26
--> $DIR/deprecation-sanity.rs:10:18
27
27
|
28
28
LL | #[deprecated(since, note = "a")]
29
29
| ^^^^^
30
30
31
- error[E0551 ]: incorrect meta item
31
+ error[E0539 ]: incorrect meta item
32
32
--> $DIR/deprecation-sanity.rs:13:31
33
33
|
34
34
LL | #[deprecated(since = "a", note(b))]
35
35
| ^^^^^^^
36
36
37
- error[E0551 ]: incorrect meta item
37
+ error[E0539 ]: incorrect meta item
38
38
--> $DIR/deprecation-sanity.rs:16:18
39
39
|
40
40
LL | #[deprecated(since(b), note = "a")]
@@ -70,5 +70,5 @@ LL | #[deprecated = "hello"]
70
70
71
71
error: aborting due to 10 previous errors
72
72
73
- Some errors have detailed explanations: E0538, E0541, E0551 , E0565.
73
+ Some errors have detailed explanations: E0538, E0539, E0541 , E0565.
74
74
For more information about an error, try `rustc --explain E0538`.
0 commit comments