]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16149.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-16149.stderr
1 error[E0530]: match bindings cannot shadow statics
2   --> $DIR/issue-16149.rs:7:9
3    |
4 LL |     static externalValue: isize;
5    |     ---------------------------- the static `externalValue` is defined here
6 ...
7 LL |         externalValue => true,
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`.