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