rust/tests/ui/attributes/used_with_arg.stderr
Jonathan Brouwer 9e35684072
Port #[used] to new attribute parsing infrastructure
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-27 08:58:26 +02:00

44 lines
934 B
Plaintext

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