mirror of https://github.com/rust-lang/rust
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
|
|
|