summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.ny.stderr
blob: 2a7e8e00bc78cf8298be44d13b45084f8970580b (plain)
1
2
3
4
5
6
7
8
error: ~const can only be applied to `#[const_trait]` traits
  --> $DIR/super-traits-fail-3.rs:12:19
   |
LL | trait Bar: ~const Foo {}
   |                   ^^^

error: aborting due to previous error