1 error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
2 --> $DIR/const-pattern-irrefutable.rs:12:9
5 | ---------------- constant defined here
10 | interpreted as a constant pattern, not a new variable
11 | help: introduce a variable instead: `a_var`
13 error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
14 --> $DIR/const-pattern-irrefutable.rs:13:9
16 LL | pub const b: u8 = 2;
17 | -------------------- constant defined here
22 | interpreted as a constant pattern, not a new variable
23 | help: introduce a variable instead: `c_var`
25 error[E0005]: refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX` not covered
26 --> $DIR/const-pattern-irrefutable.rs:14:9
28 LL | pub const d: u8 = 2;
29 | -------------------- constant defined here
34 | interpreted as a constant pattern, not a new variable
35 | help: introduce a variable instead: `d_var`
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0005`.