1 error[E0747]: type provided when a constant was expected
2 --> $DIR/const-param-shadowing.rs:5:34
4 LL | fn test<const N: usize>() -> Foo<N> {
7 help: if this generic argument was intended as a const parameter, try surrounding it with braces:
9 LL | fn test<const N: usize>() -> Foo<{ N }> {
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0747`.