fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0747]: type provided when a constant was expected 2 --> $DIR/const-param-shadowing.rs:3:34 3 | 4LL | fn test<const N: usize>() -> Foo<N> { 5 | ^ 6 | 7help: if this generic argument was intended as a const parameter, surround it with braces 8 | 9LL | fn test<const N: usize>() -> Foo<{ N }> { 10 | + + 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0747`.