1 error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await
2 --> $DIR/await_holding_refcell_ref.rs:6:9
4 LL | let b = x.borrow();
7 = note: `-D clippy::await-holding-refcell-ref` implied by `-D warnings`
8 note: these are all the await points this ref is held through
9 --> $DIR/await_holding_refcell_ref.rs:6:5
11 LL | / let b = x.borrow();
16 error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await
17 --> $DIR/await_holding_refcell_ref.rs:11:9
19 LL | let b = x.borrow_mut();
22 note: these are all the await points this ref is held through
23 --> $DIR/await_holding_refcell_ref.rs:11:5
25 LL | / let b = x.borrow_mut();
30 error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await
31 --> $DIR/await_holding_refcell_ref.rs:32:9
33 LL | let b = x.borrow_mut();
36 note: these are all the await points this ref is held through
37 --> $DIR/await_holding_refcell_ref.rs:32:5
39 LL | / let b = x.borrow_mut();
41 LL | | let second = baz().await;
44 LL | | first + second + third
48 error: 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:44:9
51 LL | let b = x.borrow_mut();
54 note: these are all the await points this ref is held through
55 --> $DIR/await_holding_refcell_ref.rs:44:5
57 LL | / let b = x.borrow_mut();
59 LL | | let second = baz().await;
62 LL | | first + second + third
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:59:13
69 LL | let b = x.borrow_mut();
72 note: these are all the await points this ref is held through
73 --> $DIR/await_holding_refcell_ref.rs:59:9
75 LL | / let b = x.borrow_mut();
80 error: this RefCell Ref is held across an 'await' point. Consider ensuring the Ref is dropped before calling await
81 --> $DIR/await_holding_refcell_ref.rs:71:13
83 LL | let b = x.borrow_mut();
86 note: these are all the await points this ref is held through
87 --> $DIR/await_holding_refcell_ref.rs:71:9
89 LL | / let b = x.borrow_mut();
94 error: aborting due to 6 previous errors