mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
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
|
|
|