1 error: this `RefCell` reference is held across an `await` point
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 = help: ensure the reference is dropped before calling `await`
9 note: these are all the `await` points this reference is held through
10 --> $DIR/await_holding_refcell_ref.rs:6:5
12 LL | / let b = x.borrow();
17 error: this `RefCell` reference is held across an `await` point
18 --> $DIR/await_holding_refcell_ref.rs:11:9
20 LL | let b = x.borrow_mut();
23 = help: ensure the reference is dropped before calling `await`
24 note: these are all the `await` points this reference is held through
25 --> $DIR/await_holding_refcell_ref.rs:11:5
27 LL | / let b = x.borrow_mut();
32 error: this `RefCell` reference is held across an `await` point
33 --> $DIR/await_holding_refcell_ref.rs:32:9
35 LL | let b = x.borrow_mut();
38 = help: ensure the reference is dropped before calling `await`
39 note: these are all the `await` points this reference is held through
40 --> $DIR/await_holding_refcell_ref.rs:32:5
42 LL | / let b = x.borrow_mut();
44 LL | | let second = baz().await;
47 LL | | first + second + third
51 error: this `RefCell` reference is held across an `await` point
52 --> $DIR/await_holding_refcell_ref.rs:44:9
54 LL | let b = x.borrow_mut();
57 = help: ensure the reference is dropped before calling `await`
58 note: these are all the `await` points this reference is held through
59 --> $DIR/await_holding_refcell_ref.rs:44:5
61 LL | / let b = x.borrow_mut();
63 LL | | let second = baz().await;
66 LL | | first + second + third
70 error: this `RefCell` reference is held across an `await` point
71 --> $DIR/await_holding_refcell_ref.rs:59:13
73 LL | let b = x.borrow_mut();
76 = help: ensure the reference is dropped before calling `await`
77 note: these are all the `await` points this reference is held through
78 --> $DIR/await_holding_refcell_ref.rs:59:9
80 LL | / let b = x.borrow_mut();
85 error: this `RefCell` reference is held across an `await` point
86 --> $DIR/await_holding_refcell_ref.rs:71:13
88 LL | let b = x.borrow_mut();
91 = help: ensure the reference is dropped before calling `await`
92 note: these are all the `await` points this reference is held through
93 --> $DIR/await_holding_refcell_ref.rs:71:9
95 LL | / let b = x.borrow_mut();
100 error: aborting due to 6 previous errors