Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov
Rename kw::Invalid -> kw::Empty
See 220054471
for context.
r? `@petrochenkov`
This commit is contained in:
commit
9e8edc8c22
27 changed files with 46 additions and 46 deletions
|
@ -854,7 +854,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
let mut mutability = Mutability::Not;
|
||||
|
||||
// FIXME(project-rfc-2229#8): Store more precise information
|
||||
let mut name = kw::Invalid;
|
||||
let mut name = kw::Empty;
|
||||
if let Some(Node::Binding(pat)) = tcx_hir.find(var_id) {
|
||||
if let hir::PatKind::Binding(_, _, ident, _) = pat.kind {
|
||||
name = ident.name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue