mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
546 B
Plaintext
16 lines
546 B
Plaintext
error: malformed `rustc_on_unimplemented` attribute input
|
|
--> $DIR/issue-104140.rs:5:1
|
|
|
|
|
LL | #[rustc_on_unimplemented]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL | #[rustc_on_unimplemented = "message"]
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
LL | #[rustc_on_unimplemented(/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...")]
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|