]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34047.stderr
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / issues / issue-34047.stderr
1 error[E0530]: match bindings cannot shadow constants
2   --> $DIR/issue-34047.rs:5:13
3    |
4 LL | const C: u8 = 0;
5    | ---------------- the constant `C` is defined here
6 ...
7 LL |         mut C => {}
8    |             ^ cannot be named the same as a constant
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0530`.