@@ -374,10 +374,7 @@ error[E0539]: malformed `export_name` attribute input
374
374
--> $DIR/malformed-attrs.rs:32:1
375
375
|
376
376
LL | #[unsafe(export_name)]
377
- | ^^^^^^^^^^^^^^^^^^^^^^
378
- | |
379
- | expected this to be of the form `export_name = "..."`
380
- | help: must be of the form: `#[export_name = "name"]`
377
+ | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[export_name = "name"]`
381
378
382
379
error: `rustc_allow_const_fn_unstable` expects a list of feature names
383
380
--> $DIR/malformed-attrs.rs:34:1
@@ -424,10 +421,7 @@ error[E0539]: malformed `rustc_macro_transparency` attribute input
424
421
--> $DIR/malformed-attrs.rs:45:1
425
422
|
426
423
LL | #[rustc_macro_transparency]
427
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
428
- | |
429
- | expected this to be of the form `rustc_macro_transparency = "..."`
430
- | help: must be of the form: `#[rustc_macro_transparency = "transparent|semitransparent|opaque"]`
424
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[rustc_macro_transparency = "transparent|semitransparent|opaque"]`
431
425
432
426
error[E0539]: malformed `repr` attribute input
433
427
--> $DIR/malformed-attrs.rs:47:1
@@ -511,10 +505,7 @@ error[E0539]: malformed `export_name` attribute input
511
505
--> $DIR/malformed-attrs.rs:68:1
512
506
|
513
507
LL | #[export_name()]
514
- | ^^^^^^^^^^^^^^^^
515
- | |
516
- | expected this to be of the form `export_name = "..."`
517
- | help: must be of the form: `#[export_name = "name"]`
508
+ | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[export_name = "name"]`
518
509
519
510
error[E0805]: malformed `used` attribute input
520
511
--> $DIR/malformed-attrs.rs:70:1
0 commit comments