// run-pass #![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete struct S; impl S { fn x() -> u32 { X } } fn main() { assert_eq!(S::<19>::x(), 19); }