error[E0282]: type annotations needed --> $DIR/one-param-uninferred.rs:15:23 | LL | let _: [u8; 17] = foo(); | ^^^ cannot infer the value of const parameter `M` declared on the function `foo` | help: consider specifying the const argument | LL | let _: [u8; 17] = foo::(); | ~~~~~~~~ error: aborting due to previous error For more information about this error, try `rustc --explain E0282`.