summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/used_with_arg.stderr
blob: 440e5c4a5a020ed97b722cf40d572e0dedc5109e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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