rustc_errors: take self
by value in DiagnosticBuilder::cancel
.
This commit is contained in:
parent
8562d6b752
commit
0b9d70cf6d
31 changed files with 176 additions and 146 deletions
|
@ -849,7 +849,7 @@ impl<'a> Parser<'a> {
|
|||
v.push(t);
|
||||
continue;
|
||||
}
|
||||
Err(mut e) => {
|
||||
Err(e) => {
|
||||
// Parsing failed, therefore it must be something more serious
|
||||
// than just a missing separator.
|
||||
expect_err.emit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue