Do not add ;
to expected tokens list when it's wrong
There's a few spots where semicolons are checked for to do error recovery, and should not be suggested (or checked for other stuff). Fixes #87647
This commit is contained in:
parent
532d2b14c0
commit
74437e477e
16 changed files with 90 additions and 51 deletions
|
@ -14,6 +14,7 @@ use crate::lexer::UnmatchedBrace;
|
|||
pub use attr_wrapper::AttrWrapper;
|
||||
pub use diagnostics::AttemptLocalParseRecovery;
|
||||
use diagnostics::Error;
|
||||
pub(crate) use item::FnParseMode;
|
||||
pub use pat::{RecoverColon, RecoverComma};
|
||||
pub use path::PathStyle;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue