]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4868.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / issue_4868.rs
1 enum NonAscii {
2     Abcd,
3     Éfgh,
4 }
5
6 use NonAscii::*;
7
8 fn f(x: NonAscii) -> bool {
9     match x {
10         Éfgh => true,
11         _ => false,
12     }
13 }
14
15 fn main() {
16     dbg!(f(Abcd));
17 }