Remove the symbol from ast::LitKind::Err
.
Because it's never used meaningfully.
This commit is contained in:
parent
fb5dc6b3e7
commit
6087dc2054
13 changed files with 17 additions and 19 deletions
|
@ -928,7 +928,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
} else {
|
||||
Lit {
|
||||
token_lit: token::Lit::new(token::LitKind::Err, kw::Empty, None),
|
||||
kind: LitKind::Err(kw::Empty),
|
||||
kind: LitKind::Err,
|
||||
span: DUMMY_SP,
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue