Skip to content

Commit a9dff2d

Browse files
committed
Remove unused impl DummyAstNode for Block.
1 parent b5d7da8 commit a9dff2d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

compiler/rustc_ast/src/mut_visit.rs

-13
Original file line numberDiff line numberDiff line change
@@ -1682,19 +1682,6 @@ impl DummyAstNode for Stmt {
16821682
}
16831683
}
16841684

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

0 commit comments

Comments
 (0)