blob: c39b8e6f7f64a22ae40d0464cbbe52aa937d919d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(min_generic_const_args)]
#![allow(incomplete_features)]
struct S;
impl S {
const N: usize = 42;
}
fn main() {
let _x: [(); S::N] = todo!();
//~^ ERROR inherent associated types are unstable
}
|