You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Double help message for new attribute parsing #143136
error[E0539]: malformed `export_name` attribute input
--> src/main.rs:7:1
|
7 |#[unsafe(export_name)]| ^^^^^^^^^^^^^^^^^^^^^^
||| expected this to be of the form `export_name = "..."`| help: must be of the form: `#[export_name = "name"]`
Desired output
error[E0539]: malformed `export_name` attribute input
--> src/main.rs:7:1
|
7 |#[unsafe(export_name)]| ^^^^^^^^^^^^^^^^^^^^^^
||| help: must be of the form: `#[export_name = "name"]`
Rationale and extra context
The "expected this to be of form" and "must be of the form" are just saying the same thing twice @rustbot claim
cc @jdonszelmann
Activity
Fix duplicate help on `export_name` and others. Fixes rust-lang#143136
Fix duplicate help on `export_name` and others. Fixes rust-lang#143136
Rollup merge of rust-lang#143181 - JonathanBrouwer:malformed-attrs, r…
Unrolled build for #143181