]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-sanity.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / deprecation / deprecation-sanity.stderr
1 error[E0541]: unknown meta item 'reason'
2   --> $DIR/deprecation-sanity.rs:14:43
3    |
4 LL |     #[deprecated(since = "a", note = "a", reason)] //~ ERROR unknown meta item 'reason'
5    |                                           ^^^^^^ expected one of `since`, `note`
6
7 error[E0551]: incorrect meta item
8   --> $DIR/deprecation-sanity.rs:17:31
9    |
10 LL |     #[deprecated(since = "a", note)] //~ ERROR incorrect meta item
11    |                               ^^^^
12
13 error[E0551]: incorrect meta item
14   --> $DIR/deprecation-sanity.rs:20:18
15    |
16 LL |     #[deprecated(since, note = "a")] //~ ERROR incorrect meta item
17    |                  ^^^^^
18
19 error[E0551]: incorrect meta item
20   --> $DIR/deprecation-sanity.rs:23:31
21    |
22 LL |     #[deprecated(since = "a", note(b))] //~ ERROR incorrect meta item
23    |                               ^^^^^^^
24
25 error[E0551]: incorrect meta item
26   --> $DIR/deprecation-sanity.rs:26:18
27    |
28 LL |     #[deprecated(since(b), note = "a")] //~ ERROR incorrect meta item
29    |                  ^^^^^^^^
30
31 error[E0550]: multiple deprecated attributes
32   --> $DIR/deprecation-sanity.rs:32:1
33    |
34 LL | fn multiple1() { } //~ ERROR multiple deprecated attributes
35    | ^^^^^^^^^^^^^^^^^^
36
37 error[E0538]: multiple 'since' items
38   --> $DIR/deprecation-sanity.rs:34:27
39    |
40 LL | #[deprecated(since = "a", since = "b", note = "c")] //~ ERROR multiple 'since' items
41    |                           ^^^^^^^^^^^
42
43 error: aborting due to 7 previous errors
44
45 Some errors occurred: E0538, E0541, E0550, E0551.
46 For more information about an error, try `rustc --explain E0538`.