11error: this `RefCell` reference is held across an await point
2- --> tests/ui/await_holding_refcell_ref.rs:6 :9
2+ --> tests/ui/await_holding_refcell_ref.rs:7 :9
33 |
44LL | let b = x.borrow();
55 | ^
66 |
77 = help: ensure the reference is dropped before calling `await`
88note: these are all the await points this reference is held through
9- --> tests/ui/await_holding_refcell_ref.rs:8 :11
9+ --> tests/ui/await_holding_refcell_ref.rs:9 :11
1010 |
1111LL | baz().await
1212 | ^^^^^
1313 = note: `-D clippy::await-holding-refcell-ref` implied by `-D warnings`
1414 = help: to override `-D warnings` add `#[allow(clippy::await_holding_refcell_ref)]`
1515
1616error: this `RefCell` reference is held across an await point
17- --> tests/ui/await_holding_refcell_ref.rs:12 :9
17+ --> tests/ui/await_holding_refcell_ref.rs:13 :9
1818 |
1919LL | let b = x.borrow_mut();
2020 | ^
2121 |
2222 = help: ensure the reference is dropped before calling `await`
2323note: these are all the await points this reference is held through
24- --> tests/ui/await_holding_refcell_ref.rs:14 :11
24+ --> tests/ui/await_holding_refcell_ref.rs:15 :11
2525 |
2626LL | baz().await
2727 | ^^^^^
2828
2929error: this `RefCell` reference is held across an await point
30- --> tests/ui/await_holding_refcell_ref.rs:34 :9
30+ --> tests/ui/await_holding_refcell_ref.rs:35 :9
3131 |
3232LL | let b = x.borrow_mut();
3333 | ^
3434 |
3535 = help: ensure the reference is dropped before calling `await`
3636note: these are all the await points this reference is held through
37- --> tests/ui/await_holding_refcell_ref.rs:37 :24
37+ --> tests/ui/await_holding_refcell_ref.rs:38 :24
3838 |
3939LL | let second = baz().await;
4040 | ^^^^^
@@ -43,40 +43,40 @@ LL | let third = baz().await;
4343 | ^^^^^
4444
4545error: this `RefCell` reference is held across an await point
46- --> tests/ui/await_holding_refcell_ref.rs:47 :9
46+ --> tests/ui/await_holding_refcell_ref.rs:48 :9
4747 |
4848LL | let b = x.borrow_mut();
4949 | ^
5050 |
5151 = help: ensure the reference is dropped before calling `await`
5252note: these are all the await points this reference is held through
53- --> tests/ui/await_holding_refcell_ref.rs:50 :24
53+ --> tests/ui/await_holding_refcell_ref.rs:51 :24
5454 |
5555LL | let second = baz().await;
5656 | ^^^^^
5757
5858error: this `RefCell` reference is held across an await point
59- --> tests/ui/await_holding_refcell_ref.rs:63 :13
59+ --> tests/ui/await_holding_refcell_ref.rs:64 :13
6060 |
6161LL | let b = x.borrow_mut();
6262 | ^
6363 |
6464 = help: ensure the reference is dropped before calling `await`
6565note: these are all the await points this reference is held through
66- --> tests/ui/await_holding_refcell_ref.rs:65 :15
66+ --> tests/ui/await_holding_refcell_ref.rs:66 :15
6767 |
6868LL | baz().await
6969 | ^^^^^
7070
7171error: this `RefCell` reference is held across an await point
72- --> tests/ui/await_holding_refcell_ref.rs:76 :13
72+ --> tests/ui/await_holding_refcell_ref.rs:77 :13
7373 |
7474LL | let b = x.borrow_mut();
7575 | ^
7676 |
7777 = help: ensure the reference is dropped before calling `await`
7878note: these are all the await points this reference is held through
79- --> tests/ui/await_holding_refcell_ref.rs:78 :15
79+ --> tests/ui/await_holding_refcell_ref.rs:79 :15
8080 |
8181LL | baz().await
8282 | ^^^^^
0 commit comments