1 #![feature(const_generics)]
2 //~^ WARN the feature `const_generics` is incomplete
5 fn foo<const X: usize>(); //~ ERROR foreign items may not have const parameters
7 fn bar<T, const X: usize>(_: T); //~ ERROR foreign items may not have type or const parameters