3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
5 #![cfg_attr(min, feature(min_const_generics))]
8 fn foo<const X: usize>(); //~ ERROR foreign items may not have const parameters
10 fn bar<T, const X: usize>(_: T); //~ ERROR foreign items may not have type or const parameters