#![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete fn foo() -> usize { 0 } fn main() { foo(); //~ ERROR type annotations needed }