diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3131.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue-3131.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3131.rs b/src/tools/rustfmt/tests/target/issue-3131.rs new file mode 100644 index 000000000..c7304dd55 --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue-3131.rs @@ -0,0 +1,8 @@ +fn main() { + match 3 { + t if match t { + _ => true, + } => {} + _ => {} + } +} |