1 error[E0541]: unknown meta item 'reason'
2 --> $DIR/deprecation-sanity.rs:14:43
4 LL | #[deprecated(since = "a", note = "a", reason)] //~ ERROR unknown meta item 'reason'
5 | ^^^^^^ expected one of `since`, `note`
7 error[E0551]: incorrect meta item
8 --> $DIR/deprecation-sanity.rs:17:31
10 LL | #[deprecated(since = "a", note)] //~ ERROR incorrect meta item
13 error[E0551]: incorrect meta item
14 --> $DIR/deprecation-sanity.rs:20:18
16 LL | #[deprecated(since, note = "a")] //~ ERROR incorrect meta item
19 error[E0551]: incorrect meta item
20 --> $DIR/deprecation-sanity.rs:23:31
22 LL | #[deprecated(since = "a", note(b))] //~ ERROR incorrect meta item
25 error[E0551]: incorrect meta item
26 --> $DIR/deprecation-sanity.rs:26:18
28 LL | #[deprecated(since(b), note = "a")] //~ ERROR incorrect meta item
31 error[E0550]: multiple deprecated attributes
32 --> $DIR/deprecation-sanity.rs:32:1
34 LL | fn multiple1() { } //~ ERROR multiple deprecated attributes
37 error[E0538]: multiple 'since' items
38 --> $DIR/deprecation-sanity.rs:34:27
40 LL | #[deprecated(since = "a", since = "b", note = "c")] //~ ERROR multiple 'since' items
43 error: aborting due to 7 previous errors
45 Some errors occurred: E0538, E0541, E0550, E0551.
46 For more information about an error, try `rustc --explain E0538`.