]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-pattern-irrefutable.rs
12 let a
= 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX
13 let c
= 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX
14 let d
= 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` and `3u8..=std::u8::MAX
15 fn f() {}
// Check that the `NOTE`s still work with an item here (cf. issue #35115).