Skip to content

Commit 92afb9d

Browse files
committed
Add test case for issue 6650
1 parent e366a83 commit 92afb9d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

tests/source/issue_6650.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// rustfmt-style_edition: 2027
2+
3+
fn main() {
4+
matches!(stmt, ast::Stmt{kind: ast::StmtKind::MacCall(box ast::MacCallStmt {style : ast::MacStmtStyle::Braces,..}),..})
5+
}

tests/target/issue_6650.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// rustfmt-style_edition: 2027
2+
3+
fn main() {
4+
matches!(
5+
stmt,
6+
ast::Stmt {
7+
kind:
8+
ast::StmtKind::MacCall(box ast::MacCallStmt {
9+
style: ast::MacStmtStyle::Braces,
10+
..
11+
}),
12+
..
13+
}
14+
)
15+
}

0 commit comments

Comments
 (0)