// run-pass #![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash const fn const_u32_identity() -> u32 { X } fn main() { assert_eq!(const_u32_identity::<18>(), 18); }