summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/without-tilde.stderr
blob: 31300354a573791ff479ab8421229be97734e27d (plain)
1
2
3
4
5
6
7
8
9
10
error: const bounds must start with `~`
  --> $DIR/without-tilde.rs:5:13
   |
LL | struct S<T: const Tr>;
   |             -^^^^
   |             |
   |             help: add `~`: `~`

error: aborting due to previous error