]> git.proxmox.com Git - rustc.git/blob - tests/ui/error-codes/E0530.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / error-codes / E0530.stderr
1 error[E0530]: match bindings cannot shadow statics
2 --> $DIR/E0530.rs:6:9
3 |
4 LL | static TEST: i32 = 0;
5 | --------------------- the static `TEST` is defined here
6 ...
7 LL | TEST => {}
8 | ^^^^ cannot be named the same as a static
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0530`.