1
Fork 0

Rollup merge of #95135 - TaKO8Ki:fix-not-emitted-unmatched-angle-bracket-error, r=Dylan-DPC

Fix a not emitted unmatched angle bracket error

closes #95128
This commit is contained in:
Matthias Krüger 2022-03-20 20:42:45 +01:00 committed by GitHub
commit 63da51db93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View file

@ -1486,7 +1486,7 @@ impl<'a> Parser<'a> {
// `check_trailing_angle_brackets` already emitted a nicer error
// NOTE(eddyb) this was `.cancel()`, but `err`
// gets returned, so we can't fully defuse it.
err.downgrade_to_delayed_bug();
err.delay_as_bug();
}
}
}