Skip to content

Commit

Permalink
Remove unused impl DummyAstNode for Block.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Mar 5, 2024
1 parent b5d7da8 commit a9dff2d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions compiler/rustc_ast/src/mut_visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1682,19 +1682,6 @@ impl DummyAstNode for Stmt {
}
}

impl DummyAstNode for Block {
fn dummy() -> Self {
Block {
stmts: Default::default(),
id: DUMMY_NODE_ID,
rules: BlockCheckMode::Default,
span: Default::default(),
tokens: Default::default(),
could_be_bare_literal: Default::default(),
}
}
}

impl DummyAstNode for Crate {
fn dummy() -> Self {
Crate {
Expand Down

0 comments on commit a9dff2d

Please sign in to comment.