// run-pass // revisions: full min #![cfg_attr(full, feature(const_generics))] //[full]~WARN the feature `const_generics` is incomplete fn promote() { // works: // // let n = N; // &n; &N; } fn main() { promote::<0>(); }