@@ -168,30 +168,12 @@ LL | #[rustc_layout_scalar_valid_range_start(0suffix)]
168
168
|
169
169
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
170
170
171
- error[E0539]: malformed `rustc_layout_scalar_valid_range_start` attribute input
172
- --> $DIR/bad-lit-suffixes.rs:43:1
173
- |
174
- LL | #[rustc_layout_scalar_valid_range_start(0suffix)]
175
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^
176
- | | |
177
- | | expected an integer literal here
178
- | help: must be of the form: `#[rustc_layout_scalar_valid_range_start(start)]`
179
-
180
171
error: suffixes on string literals are invalid
181
- --> $DIR/bad-lit-suffixes.rs:49 :25
172
+ --> $DIR/bad-lit-suffixes.rs:48 :25
182
173
|
183
174
LL | #[rustc_confusables("blah"suffix)]
184
175
| ^^^^^^^^^^^^ invalid suffix `suffix`
185
176
186
- error[E0539]: malformed `rustc_confusables` attribute input
187
- --> $DIR/bad-lit-suffixes.rs:49:5
188
- |
189
- LL | #[rustc_confusables("blah"suffix)]
190
- | ^^^^^^^^^^^^^^^^^^^^------------^^
191
- | | |
192
- | | expected a string literal here
193
- | help: must be of the form: `#[rustc_confusables("name1", "name2", ...)]`
194
-
195
- error: aborting due to 24 previous errors; 2 warnings emitted
177
+ error: aborting due to 22 previous errors; 2 warnings emitted
196
178
197
179
For more information about this error, try `rustc --explain E0539`.
0 commit comments