]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4868.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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 }