mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
19 lines
427 B
Plaintext
19 lines
427 B
Plaintext
|
error: `used(compiler)` and `used(linker)` can't be used together
|
||
|
--> $DIR/used_with_arg.rs:9:1
|
||
|
|
|
||
|
LL | #[used(compiler)]
|
||
|
| ^^^^^^^^^^^^^^^^^
|
||
|
LL | #[used(linker)]
|
||
|
| ^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: `used(compiler)` and `used(linker)` can't be used together
|
||
|
--> $DIR/used_with_arg.rs:13:1
|
||
|
|
|
||
|
LL | #[used(compiler)]
|
||
|
| ^^^^^^^^^^^^^^^^^
|
||
|
LL | #[used(linker)]
|
||
|
| ^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|