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