summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/impl-tilde-const-trait.stderr
blob: 0a91719e1f15b269b7652866d0b5264b43a10bb6 (plain)
1
2
3
4
5
6
7
8
error: expected a trait, found type
  --> $DIR/impl-tilde-const-trait.rs:6:6
   |
LL | impl ~const T for S {}
   |      ^^^^^^^^

error: aborting due to previous error