fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
821 B21 linesraw
1error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
2  --> $DIR/const-pattern-irrefutable.rs:12:9
3   |
4LL |     let a = 4;
5   |         ^ interpreted as a constant pattern, not new variable
6
7error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
8  --> $DIR/const-pattern-irrefutable.rs:13:9
9   |
10LL |     let c = 4;
11   |         ^ interpreted as a constant pattern, not new variable
12
13error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
14  --> $DIR/const-pattern-irrefutable.rs:14:9
15   |
16LL |     let d = 4;
17   |         ^ interpreted as a constant pattern, not new variable
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0005`.