mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-11 15:41:59 +00:00
21 lines
519 B
Plaintext
21 lines
519 B
Plaintext
error[E0805]: malformed `used` attribute input
|
|
--> $DIR/used_with_multi_args.rs:3:1
|
|
|
|
|
LL | #[used(compiler, linker)]
|
|
| ^^^^^^------------------^
|
|
| |
|
|
| expected a single argument here
|
|
|
|
|
help: try changing it to one of the following valid forms of the attribute
|
|
|
|
|
LL - #[used(compiler, linker)]
|
|
LL + #[used(compiler|linker)]
|
|
|
|
|
LL - #[used(compiler, linker)]
|
|
LL + #[used]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0805`.
|