about summary refs log tree commit diff
path: root/tests/ui/attributes/used_with_multi_args.stderr
blob: e48209cf20424e5f867bc7dd5b788325526ce2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0805]: malformed `used` attribute input
  --> $DIR/used_with_multi_args.rs:3:1
   |
LL | #[used(compiler, linker)]
   | ^^^^^^------------------^
   |       |
   |       expected a single argument here
   |
help: try changing it to one of the following valid forms of the attribute
   |
LL - #[used(compiler, linker)]
LL + #[used(compiler|linker)]
   |
LL - #[used(compiler, linker)]
LL + #[used]
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0805`.