rust/tests/ui/rfc-2632-const-trait-impl/without-tilde.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
224 B
Plaintext
Raw Normal View History

2022-08-21 05:58:42 -05:00
error: const bounds must start with `~`
2021-08-27 03:26:35 -05:00
--> $DIR/without-tilde.rs:5:13
|
LL | struct S<T: const Tr>;
2022-08-21 05:58:42 -05:00
| -^^^^
| |
| help: add `~`: `~`
2021-08-27 03:26:35 -05:00
2022-08-21 05:58:42 -05:00
error: aborting due to previous error
2021-08-27 03:26:35 -05:00