abcaf30f9b
we don't yet handle `generic_const_exprs`, someone else can do that :3
7 lines
167 B
Rust
7 lines
167 B
Rust
// revisions: old next
|
|
//[next] compile-flags: -Ztrait-solver=next
|
|
|
|
struct Foo<const N: u8 = { 255 + 1 }>;
|
|
//~^ ERROR evaluation of constant value failed
|
|
fn main() {}
|