]> git.lizzy.rs Git - rust.git/blob - src/test/ui/marker_trait_attr/marker-attribute-with-values.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / marker_trait_attr / marker-attribute-with-values.stderr
1 error: malformed `marker` attribute input
2   --> $DIR/marker-attribute-with-values.rs:3:1
3    |
4 LL | #[marker(always)]
5    | ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[marker]`
6
7 error: malformed `marker` attribute input
8   --> $DIR/marker-attribute-with-values.rs:6:1
9    |
10 LL | #[marker("never")]
11    | ^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[marker]`
12
13 error: malformed `marker` attribute input
14   --> $DIR/marker-attribute-with-values.rs:9:1
15    |
16 LL | #[marker(key = "value")]
17    | ^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[marker]`
18
19 error: aborting due to 3 previous errors
20