mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 03:38:29 +00:00
11 lines
226 B
Plaintext
11 lines
226 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 1 previous error
|
|
|