Skip to content

Commit 62f650c

Browse files
committed
Remove unused impl DummyAstNode for Block.
1 parent f7aa551 commit 62f650c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

compiler/rustc_ast/src/mut_visit.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,19 +1681,6 @@ impl DummyAstNode for Stmt {
16811681
}
16821682
}
16831683

1684-
impl DummyAstNode for Block {
1685-
fn dummy() -> Self {
1686-
Block {
1687-
stmts: Default::default(),
1688-
id: DUMMY_NODE_ID,
1689-
rules: BlockCheckMode::Default,
1690-
span: Default::default(),
1691-
tokens: Default::default(),
1692-
could_be_bare_literal: Default::default(),
1693-
}
1694-
}
1695-
}
1696-
16971684
impl DummyAstNode for Crate {
16981685
fn dummy() -> Self {
16991686
Crate {

0 commit comments

Comments
 (0)