1 2 3 4 5 6 7 8 9 10
// check-pass #![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete struct Generic<const V: usize>; fn main() { let _ = Generic::<0>; }