mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Diagnose value breaks in incorrect breakables
This commit is contained in:
parent
02eb2d758e
commit
41f234df09
5 changed files with 70 additions and 37 deletions
|
@ -140,6 +140,7 @@ pub struct PrivateField {
|
|||
pub struct BreakOutsideOfLoop {
|
||||
pub expr: InFile<AstPtr<ast::Expr>>,
|
||||
pub is_break: bool,
|
||||
pub bad_value_break: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue