]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/generic_const_exprs/abstract-consts-as-cast-5.stderr
Move /src/test to /tests
[rust.git] / tests / ui / const-generics / generic_const_exprs / abstract-consts-as-cast-5.stderr
1 error: unconstrained generic constant
2   --> $DIR/abstract-consts-as-cast-5.rs:5:11
3    |
4 LL |     bar::<{ N as usize as usize }>();
5    |           ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: try adding a `where` bound using this expression: `where [(); { N as usize as usize }]:`
8
9 error: aborting due to previous error
10