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

error: aborting due to previous error