blob: 2d74b4788bf4b61c4eab058198a1f4930bfcc891 [file] [log] [blame]
// revisions: full min
#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]
#![cfg_attr(min, feature(min_const_generics))]
fn foo<const X: usize>() -> usize {
0
}
fn main() {
foo(); //~ ERROR type annotations needed
}