1
1
error: 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
3
3
|
4
4
LL | let b = x.borrow();
5
5
| ^
6
6
|
7
7
= help: ensure the reference is dropped before calling `await`
8
8
note: 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
10
10
|
11
11
LL | baz().await
12
12
| ^^^^^
13
13
= note: `-D clippy::await-holding-refcell-ref` implied by `-D warnings`
14
14
= help: to override `-D warnings` add `#[allow(clippy::await_holding_refcell_ref)]`
15
15
16
16
error: 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
18
18
|
19
19
LL | let b = x.borrow_mut();
20
20
| ^
21
21
|
22
22
= help: ensure the reference is dropped before calling `await`
23
23
note: 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
25
25
|
26
26
LL | baz().await
27
27
| ^^^^^
28
28
29
29
error: 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
31
31
|
32
32
LL | let b = x.borrow_mut();
33
33
| ^
34
34
|
35
35
= help: ensure the reference is dropped before calling `await`
36
36
note: 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
38
38
|
39
39
LL | let second = baz().await;
40
40
| ^^^^^
@@ -43,40 +43,40 @@ LL | let third = baz().await;
43
43
| ^^^^^
44
44
45
45
error: 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
47
47
|
48
48
LL | let b = x.borrow_mut();
49
49
| ^
50
50
|
51
51
= help: ensure the reference is dropped before calling `await`
52
52
note: 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
54
54
|
55
55
LL | let second = baz().await;
56
56
| ^^^^^
57
57
58
58
error: 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
60
60
|
61
61
LL | let b = x.borrow_mut();
62
62
| ^
63
63
|
64
64
= help: ensure the reference is dropped before calling `await`
65
65
note: 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
67
67
|
68
68
LL | baz().await
69
69
| ^^^^^
70
70
71
71
error: 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
73
73
|
74
74
LL | let b = x.borrow_mut();
75
75
| ^
76
76
|
77
77
= help: ensure the reference is dropped before calling `await`
78
78
note: 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
80
80
|
81
81
LL | baz().await
82
82
| ^^^^^
0 commit comments