summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/attr-misuse.stderr
blob: b18f33218c2db68503e59fdc63c012ff7969f7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: attribute should be applied to a trait
  --> $DIR/attr-misuse.rs:9:1
   |
LL | #[const_trait]
   | ^^^^^^^^^^^^^^

error: attribute should be applied to a trait
  --> $DIR/attr-misuse.rs:5:5
   |
LL |     #[const_trait]
   |     ^^^^^^^^^^^^^^

error: aborting due to 2 previous errors