]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/without-tilde.stderr
Rollup merge of #99244 - gthb:doc-improve-iterator-scan, r=m-ou-se
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / without-tilde.stderr
1 error: const bounds must start with `~`
2   --> $DIR/without-tilde.rs:5:13
3    |
4 LL | struct S<T: const Tr>;
5    |             -^^^^
6    |             |
7    |             help: add `~`: `~`
8
9 error: aborting due to previous error
10