@@ -101,19 +101,13 @@ LL | #[stable(feature = "e", since = "b")]
101
101
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102
102
103
103
error[E0544]: multiple stability levels
104
- --> $DIR/stability-attribute-sanity.rs:65 :1
104
+ --> $DIR/stability-attribute-sanity.rs:64 :1
105
105
|
106
106
LL | #[rustc_const_unstable(feature = "d", issue = "none")]
107
107
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
108
109
- error[E0549]: deprecated attribute must be paired with either stable or unstable attribute
110
- --> $DIR/stability-attribute-sanity.rs:62:1
111
- |
112
- LL | #[deprecated(since = "b", note = "text")]
113
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
-
115
109
error: invalid deprecation version found
116
- --> $DIR/stability-attribute-sanity.rs:68 :1
110
+ --> $DIR/stability-attribute-sanity.rs:67 :1
117
111
|
118
112
LL | #[stable(feature = "a", since = "1.0.0")]
119
113
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid deprecation version
@@ -122,24 +116,18 @@ LL | fn invalid_deprecation_version() {}
122
116
| ----------------------------------- the stability attribute annotates this item
123
117
124
118
error[E0549]: deprecated attribute must be paired with either stable or unstable attribute
125
- --> $DIR/stability-attribute-sanity.rs:73 :1
119
+ --> $DIR/stability-attribute-sanity.rs:72 :1
126
120
|
127
121
LL | #[deprecated(since = "a", note = "text")]
128
122
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129
123
130
- error: function has missing stability attribute
131
- --> $DIR/stability-attribute-sanity.rs:66:1
132
- |
133
- LL | pub const fn multiple4() { }
134
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135
-
136
124
error[E0711]: feature `a` is declared stable since 1.0.0, but was previously declared stable since 4.4.4
137
- --> $DIR/stability-attribute-sanity.rs:68 :1
125
+ --> $DIR/stability-attribute-sanity.rs:67 :1
138
126
|
139
127
LL | #[stable(feature = "a", since = "1.0.0")]
140
128
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
141
129
142
- error: aborting due to 22 previous errors
130
+ error: aborting due to 20 previous errors
143
131
144
132
Some errors have detailed explanations: E0539, E0541, E0542, E0543, E0544, E0546, E0547, E0549, E0711.
145
133
For more information about an error, try `rustc --explain E0539`.
0 commit comments