blob: 6110d16c070d9016ef0faf6f4fcf39bd43f869c2 (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete
struct Bad<const N: usize, T> { //~ ERROR type parameters must be declared prior
arr: [u8; { N }],
another: T,
}
fn main() { }
|