@@ -46,32 +46,50 @@ LL | | }
4646 | |_^
4747
4848error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await.
49- --> $DIR/await_holding_refcell_ref.rs:46:13
49+ --> $DIR/await_holding_refcell_ref.rs:45:9
50+ |
51+ LL | let b = x.borrow_mut();
52+ | ^
53+ |
54+ note: these are all the await points this ref is held through
55+ --> $DIR/await_holding_refcell_ref.rs:45:5
56+ |
57+ LL | / let b = x.borrow_mut();
58+ LL | |
59+ LL | | let second = baz().await;
60+ LL | |
61+ ... |
62+ LL | | first + second + third
63+ LL | | }
64+ | |_^
65+
66+ error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await.
67+ --> $DIR/await_holding_refcell_ref.rs:60:13
5068 |
5169LL | let b = x.borrow_mut();
5270 | ^
5371 |
5472note: these are all the await points this ref is held through
55- --> $DIR/await_holding_refcell_ref.rs:46 :9
73+ --> $DIR/await_holding_refcell_ref.rs:60 :9
5674 |
5775LL | / let b = x.borrow_mut();
5876LL | | baz().await
5977LL | | };
6078 | |_____^
6179
6280error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await.
63- --> $DIR/await_holding_refcell_ref.rs:58 :13
81+ --> $DIR/await_holding_refcell_ref.rs:72 :13
6482 |
6583LL | let b = x.borrow_mut();
6684 | ^
6785 |
6886note: these are all the await points this ref is held through
69- --> $DIR/await_holding_refcell_ref.rs:58 :9
87+ --> $DIR/await_holding_refcell_ref.rs:72 :9
7088 |
7189LL | / let b = x.borrow_mut();
7290LL | | baz().await
7391LL | | }
7492 | |_____^
7593
76- error: aborting due to 5 previous errors
94+ error: aborting due to 6 previous errors
7795
0 commit comments