]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2632-const-trait-impl/attr-misuse.stderr
Rollup merge of #106754 - compiler-errors:ty-infer-method-is-confusing, r=lcnr
[rust.git] / tests / 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