blob: 646cdfc78f971d66937e1768ef86a3a407a6fbae (
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 1 previous error
|