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