about summary refs log tree commit diff
path: root/tests/ui/attributes/used_with_arg.stderr
blob: 9ff91a4e03b3e051738d9d8ee3466a8ab5e658b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
error: unused attribute
  --> $DIR/used_with_arg.rs:16:1
   |
LL | #[used(compiler)]
   | ^^^^^^^^^^^^^^^^^ help: remove this attribute
   |
note: attribute also specified here
  --> $DIR/used_with_arg.rs:14:1
   |
LL | #[used(compiler)]
   | ^^^^^^^^^^^^^^^^^
note: the lint level is defined here
  --> $DIR/used_with_arg.rs:1:9
   |
LL | #![deny(unused_attributes)]
   |         ^^^^^^^^^^^^^^^^^

error: unused attribute
  --> $DIR/used_with_arg.rs:17:1
   |
LL | #[used(linker)]
   | ^^^^^^^^^^^^^^^ help: remove this attribute
   |
note: attribute also specified here
  --> $DIR/used_with_arg.rs:15:1
   |
LL | #[used(linker)]
   | ^^^^^^^^^^^^^^^

error: unused attribute
  --> $DIR/used_with_arg.rs:25:1
   |
LL | #[used]
   | ^^^^^^^ help: remove this attribute
   |
note: attribute also specified here
  --> $DIR/used_with_arg.rs:24:1
   |
LL | #[used(linker)]
   | ^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors