]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/source/configs/match_arm_leading_pipes/preserve.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / configs / match_arm_leading_pipes / preserve.rs
index ea303e857def5a4ac393d042f1bf3f8bd278ebc3..5486877bde1906dcdbf3b6cf7450a3ca16e0be47 100644 (file)
@@ -26,3 +26,11 @@ fn bar() {
         _ => {}
     }
 }
+
+fn f(x: NonAscii) -> bool {
+    match x {
+      // foo
+              |   Éfgh => true,
+        _ => false,
+    }
+}
\ No newline at end of file