]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0530.stderr
Auto merge of #47804 - retep007:recursive-requirements, r=pnkfelix
[rust.git] / src / test / ui / error-codes / E0530.stderr
1 error[E0530]: match bindings cannot shadow statics
2   --> $DIR/E0530.rs:16:9
3    |
4 12 |     static TEST: i32 = 0;
5    |     --------------------- a static `TEST` is defined here
6 ...
7 16 |         TEST => {} //~ ERROR E0530
8    |         ^^^^ cannot be named the same as a static
9
10 error: aborting due to previous error
11