mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Actually test async{}
blocks in async_blocks_are_borders
This commit is contained in:
parent
eecab99dec
commit
797da9e8da
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fn foo() {
|
|||
r#"
|
||||
fn foo() {
|
||||
'a: loop {
|
||||
try {
|
||||
async {
|
||||
break;
|
||||
//^^^^^ error: break outside of loop
|
||||
break 'a;
|
||||
|
|
Loading…
Reference in a new issue