1 2 3 4 5 6 7
fn foo<const X: usize>() -> usize { 0 } fn main() { foo(); //~ ERROR type annotations needed }