]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/rustfmt/tests/source/configs/match_arm_leading_pipes/preserve.rs
Merge commit '4236289b75ee55c78538c749512cdbeea5e1c332' into update-rustfmt
[rust.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