blob: 4b76ae6cfd56d734d3c22d348c3cd2289e313d47 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: unconstrained generic constant
--> $DIR/abstract-consts-as-cast-5.rs:5:11
|
LL | bar::<{ N as usize as usize }>();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try adding a `where` bound using this expression: `where [(); { N as usize as usize }]:`
error: aborting due to 1 previous error
|