1 error[E0530]: match bindings cannot shadow const parameters
2 --> $DIR/shadow-const-param.rs:7:9
4 LL | fn foo<const N: i32>(i: i32) -> bool {
5 | - the const parameter `N` is defined here
8 | ^ cannot be named the same as a const parameter
10 error[E0530]: let bindings cannot shadow const parameters
11 --> $DIR/shadow-const-param.rs:13:9
13 LL | fn bar<const N: i32>(i: i32) -> bool {
14 | - the const parameter `N` is defined here
16 | ^ cannot be named the same as a const parameter
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0530`.