fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0530]: match bindings cannot shadow statics 2 --> $DIR/issue-17718-patterns.rs:7:9 3 | 4LL | static A1: usize = 1; 5 | --------------------- the static `A1` is defined here 6... 7LL | A1 => {} 8 | ^^ cannot be named the same as a static 9 10error[E0530]: match bindings cannot shadow statics 11 --> $DIR/issue-17718-patterns.rs:8:9 12 | 13LL | static mut A2: usize = 1; 14 | ------------------------- the static `A2` is defined here 15... 16LL | A2 => {} 17 | ^^ cannot be named the same as a static 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0530`.