1 error[E0541]: unknown meta item 'reason'
2 --> $DIR/stability-attribute-sanity.rs:8:42
4 LL | #[stable(feature = "a", since = "b", reason)] //~ ERROR unknown meta item 'reason' [E0541]
5 | ^^^^^^ expected one of `since`, `note`
7 error[E0539]: incorrect meta item
8 --> $DIR/stability-attribute-sanity.rs:11:29
10 LL | #[stable(feature = "a", since)] //~ ERROR incorrect meta item [E0539]
13 error[E0539]: incorrect meta item
14 --> $DIR/stability-attribute-sanity.rs:14:14
16 LL | #[stable(feature, since = "a")] //~ ERROR incorrect meta item [E0539]
19 error[E0539]: incorrect meta item
20 --> $DIR/stability-attribute-sanity.rs:17:29
22 LL | #[stable(feature = "a", since(b))] //~ ERROR incorrect meta item [E0539]
25 error[E0539]: incorrect meta item
26 --> $DIR/stability-attribute-sanity.rs:20:14
28 LL | #[stable(feature(b), since = "a")] //~ ERROR incorrect meta item [E0539]
31 error[E0546]: missing 'feature'
32 --> $DIR/stability-attribute-sanity.rs:25:5
34 LL | #[unstable(issue = "0")] //~ ERROR missing 'feature' [E0546]
35 | ^^^^^^^^^^^^^^^^^^^^^^^^
37 error[E0547]: missing 'issue'
38 --> $DIR/stability-attribute-sanity.rs:28:5
40 LL | #[unstable(feature = "b")] //~ ERROR missing 'issue' [E0547]
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
43 error[E0546]: missing 'feature'
44 --> $DIR/stability-attribute-sanity.rs:31:5
46 LL | #[stable(since = "a")] //~ ERROR missing 'feature' [E0546]
47 | ^^^^^^^^^^^^^^^^^^^^^^
49 error[E0542]: missing 'since'
50 --> $DIR/stability-attribute-sanity.rs:36:5
52 LL | #[stable(feature = "a")] //~ ERROR missing 'since' [E0542]
53 | ^^^^^^^^^^^^^^^^^^^^^^^^
55 error[E0542]: missing 'since'
56 --> $DIR/stability-attribute-sanity.rs:40:5
58 LL | #[rustc_deprecated(reason = "a")] //~ ERROR missing 'since' [E0542]
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61 error[E0544]: multiple stability levels
62 --> $DIR/stability-attribute-sanity.rs:45:1
64 LL | #[stable(feature = "a", since = "b")] //~ ERROR multiple stability levels [E0544]
65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67 error[E0544]: multiple stability levels
68 --> $DIR/stability-attribute-sanity.rs:49:1
70 LL | #[unstable(feature = "b", issue = "0")] //~ ERROR multiple stability levels [E0544]
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 error[E0544]: multiple stability levels
74 --> $DIR/stability-attribute-sanity.rs:53:1
76 LL | #[stable(feature = "a", since = "b")] //~ ERROR multiple stability levels [E0544]
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 error[E0540]: multiple rustc_deprecated attributes
80 --> $DIR/stability-attribute-sanity.rs:61:1
82 LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 error[E0553]: multiple rustc_const_unstable attributes
86 --> $DIR/stability-attribute-sanity.rs:61:1
88 LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 error: Invalid stability or deprecation version found
92 --> $DIR/stability-attribute-sanity.rs:61:1
94 LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 error[E0549]: rustc_deprecated attribute must be paired with either stable or unstable attribute
98 --> $DIR/stability-attribute-sanity.rs:66:1
100 LL | fn deprecated_without_unstable_or_stable() { }
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 error: aborting due to 17 previous errors
105 Some errors occurred: E0539, E0540, E0541, E0542, E0544, E0546, E0547, E0549, E0553.
106 For more information about an error, try `rustc --explain E0539`.