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