mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +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#"
|
r#"
|
||||||
fn foo() {
|
fn foo() {
|
||||||
'a: loop {
|
'a: loop {
|
||||||
try {
|
async {
|
||||||
break;
|
break;
|
||||||
//^^^^^ error: break outside of loop
|
//^^^^^ error: break outside of loop
|
||||||
break 'a;
|
break 'a;
|
||||||
|
|
Loading…
Reference in a new issue