]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34209.rs
Auto merge of #95685 - oxidecomputer:restore-static-dwarf, r=pnkfelix
[rust.git] / src / test / ui / issues / issue-34209.rs
1 enum S {
2     A,
3 }
4
5 fn bug(l: S) {
6     match l {
7         S::B {} => {}, //~ ERROR no variant named `B` found for enum `S`
8     }
9 }
10
11 fn main () {}