]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/attr-misuse.stderr
Auto merge of #105651 - tgross35:once-cell-inline, r=m-ou-se
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / attr-misuse.stderr
1 error: attribute should be applied to a trait
2   --> $DIR/attr-misuse.rs:9:1
3    |
4 LL | #[const_trait]
5    | ^^^^^^^^^^^^^^
6
7 error: attribute should be applied to a trait
8   --> $DIR/attr-misuse.rs:5:5
9    |
10 LL |     #[const_trait]
11    |     ^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14