]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-84659.stderr
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / const-generics / issues / issue-84659.stderr
1 error: unconstrained generic constant
2   --> $DIR/issue-84659.rs:8:15
3    |
4 LL |     type Baz: Bar<{ Self::N }>;
5    |               ^^^^^^^^^^^^^^^^
6    |
7    = help: try adding a `where` bound using this expression: `where [(); { Self::N }]:`
8
9 error: aborting due to previous error
10