mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
remove mapping for expr underscore in syntax factory constructor
This commit is contained in:
@@ -896,10 +896,6 @@ pub fn expr_underscore(&self) -> ast::UnderscoreExpr {
|
||||
unreachable!()
|
||||
};
|
||||
|
||||
if let Some(mut mapping) = self.mappings() {
|
||||
SyntaxMappingBuilder::new(ast.syntax().clone()).finish(&mut mapping);
|
||||
}
|
||||
|
||||
ast
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user