diff options
Diffstat (limited to 'crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs')
-rw-r--r-- | crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs b/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs index 5ad0fbd1b..d12594a4c 100644 --- a/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs +++ b/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs | |||
@@ -23,7 +23,7 @@ mod tests { | |||
23 | check_diagnostics( | 23 | check_diagnostics( |
24 | r#" | 24 | r#" |
25 | fn foo() { break; } | 25 | fn foo() { break; } |
26 | //^^^^^ break outside of loop | 26 | //^^^^^ error: break outside of loop |
27 | "#, | 27 | "#, |
28 | ); | 28 | ); |
29 | } | 29 | } |