1 error: multiple `deprecated` attributes
2 --> $DIR/stability-attribute-sanity.rs:62:1
4 LL | #[deprecated(since = "b", note = "text")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
7 note: attribute also specified here
8 --> $DIR/stability-attribute-sanity.rs:61:1
10 LL | #[deprecated(since = "b", note = "text")]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error[E0541]: unknown meta item 'reason'
14 --> $DIR/stability-attribute-sanity.rs:8:42
16 LL | #[stable(feature = "a", since = "b", reason)]
17 | ^^^^^^ expected one of `since`, `note`
19 error[E0539]: incorrect meta item
20 --> $DIR/stability-attribute-sanity.rs:11:29
22 LL | #[stable(feature = "a", since)]
25 error[E0539]: incorrect meta item
26 --> $DIR/stability-attribute-sanity.rs:14:14
28 LL | #[stable(feature, since = "a")]
31 error[E0539]: incorrect meta item
32 --> $DIR/stability-attribute-sanity.rs:17:29
34 LL | #[stable(feature = "a", since(b))]
37 error[E0539]: incorrect meta item
38 --> $DIR/stability-attribute-sanity.rs:20:14
40 LL | #[stable(feature(b), since = "a")]
43 error[E0546]: missing 'feature'
44 --> $DIR/stability-attribute-sanity.rs:25:5
46 LL | #[unstable(issue = "none")]
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
49 error[E0547]: missing 'issue'
50 --> $DIR/stability-attribute-sanity.rs:28:5
52 LL | #[unstable(feature = "b")]
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
55 error[E0546]: missing 'feature'
56 --> $DIR/stability-attribute-sanity.rs:31:5
58 LL | #[stable(since = "a")]
59 | ^^^^^^^^^^^^^^^^^^^^^^
61 error[E0542]: missing 'since'
62 --> $DIR/stability-attribute-sanity.rs:36:5
64 LL | #[stable(feature = "a")]
65 | ^^^^^^^^^^^^^^^^^^^^^^^^
67 error[E0542]: missing 'since'
68 --> $DIR/stability-attribute-sanity.rs:40:5
70 LL | #[deprecated(note = "a")]
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^
73 error[E0543]: missing 'note'
74 --> $DIR/stability-attribute-sanity.rs:44:5
76 LL | #[deprecated(since = "a")]
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
79 error[E0544]: multiple stability levels
80 --> $DIR/stability-attribute-sanity.rs:49:1
82 LL | #[stable(feature = "a", since = "b")]
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 error[E0544]: multiple stability levels
86 --> $DIR/stability-attribute-sanity.rs:53:1
88 LL | #[unstable(feature = "b", issue = "none")]
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 error[E0544]: multiple stability levels
92 --> $DIR/stability-attribute-sanity.rs:57:1
94 LL | #[stable(feature = "a", since = "b")]
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 error[E0544]: multiple stability levels
98 --> $DIR/stability-attribute-sanity.rs:64:1
100 LL | #[rustc_const_unstable(feature = "d", issue = "none")]
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 error: invalid stability version found
104 --> $DIR/stability-attribute-sanity.rs:60:1
106 LL | #[stable(feature = "a", since = "b")]
107 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid stability version
109 LL | pub const fn multiple4() { }
110 | ---------------------------- the stability attribute annotates this item
112 error: invalid deprecation version found
113 --> $DIR/stability-attribute-sanity.rs:67:1
115 LL | #[stable(feature = "a", since = "1.0.0")]
116 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid deprecation version
118 LL | fn invalid_deprecation_version() {}
119 | ----------------------------------- the stability attribute annotates this item
121 error[E0549]: deprecated attribute must be paired with either stable or unstable attribute
122 --> $DIR/stability-attribute-sanity.rs:72:1
124 LL | #[deprecated(since = "a", note = "text")]
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 error[E0711]: feature `a` is declared stable since 1.0.0, but was previously declared stable since b
128 --> $DIR/stability-attribute-sanity.rs:67:1
130 LL | #[stable(feature = "a", since = "1.0.0")]
131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133 error: aborting due to 20 previous errors
135 Some errors have detailed explanations: E0539, E0541, E0542, E0543, E0544, E0546, E0547, E0549.
136 For more information about an error, try `rustc --explain E0539`.