Use identifiers in diagnostics more often
This commit is contained in:
parent
f85c6de552
commit
ac1c6c50f4
21 changed files with 83 additions and 72 deletions
|
@ -1958,7 +1958,7 @@ impl<'a> Parser<'a> {
|
|||
} else {
|
||||
let err = self.dcx().create_err(errors::UnknownBuiltinConstruct {
|
||||
span: lo.to(ident.span),
|
||||
name: ident.name,
|
||||
name: ident,
|
||||
});
|
||||
return Err(err);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue