This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
a439eb259d
rust
/
tests
/
ui
/
parser
/
break-in-unlabeled-block.rs
12 lines
220 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-rustfix
Suggest labeling block if `break` is in bare block Fix #103982.
2023-10-03 00:20:59 +00:00
fn
main
(
)
{
{
break
(
)
;
//~ ERROR `break` outside of a loop or labeled block
}
{
{
break
(
)
;
//~ ERROR `break` outside of a loop or labeled block
}
}
}
Copy permalink