about summary refs log tree commit diff
path: root/tests/ui/marker_trait_attr/marker-attribute-with-values.stderr
blob: 9a2e5add37b35b833803aa1a83de44977ac3736a (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
error[E0565]: malformed `marker` attribute input
  --> $DIR/marker-attribute-with-values.rs:3:1
   |
LL | #[marker(always)]
   | ^^^^^^^^--------^
   | |       |
   | |       didn't expect any arguments here
   | help: must be of the form: `#[marker]`

error[E0565]: malformed `marker` attribute input
  --> $DIR/marker-attribute-with-values.rs:6:1
   |
LL | #[marker("never")]
   | ^^^^^^^^---------^
   | |       |
   | |       didn't expect any arguments here
   | help: must be of the form: `#[marker]`

error[E0565]: malformed `marker` attribute input
  --> $DIR/marker-attribute-with-values.rs:9:1
   |
LL | #[marker(key = "value")]
   | ^^^^^^^^---------------^
   | |       |
   | |       didn't expect any arguments here
   | help: must be of the form: `#[marker]`

error: aborting due to 3 previous errors

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