1
1
error: large future with a size of 16385 bytes
2
- --> tests/ui/large_futures.rs:11 :9
2
+ --> tests/ui/large_futures.rs:10 :9
3
3
|
4
4
LL | big_fut([0u8; 1024 * 16]).await;
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Box::pin` on it: `Box::pin(big_fut([0u8; 1024 * 16]))`
@@ -8,37 +8,37 @@ LL | big_fut([0u8; 1024 * 16]).await;
8
8
= help: to override `-D warnings` add `#[allow(clippy::large_futures)]`
9
9
10
10
error: large future with a size of 16386 bytes
11
- --> tests/ui/large_futures.rs:15 :5
11
+ --> tests/ui/large_futures.rs:14 :5
12
12
|
13
13
LL | f.await
14
14
| ^ help: consider `Box::pin` on it: `Box::pin(f)`
15
15
16
16
error: large future with a size of 16387 bytes
17
- --> tests/ui/large_futures.rs:20 :9
17
+ --> tests/ui/large_futures.rs:19 :9
18
18
|
19
19
LL | wait().await;
20
20
| ^^^^^^ help: consider `Box::pin` on it: `Box::pin(wait())`
21
21
22
22
error: large future with a size of 16387 bytes
23
- --> tests/ui/large_futures.rs:25 :13
23
+ --> tests/ui/large_futures.rs:24 :13
24
24
|
25
25
LL | wait().await;
26
26
| ^^^^^^ help: consider `Box::pin` on it: `Box::pin(wait())`
27
27
28
28
error: large future with a size of 65540 bytes
29
- --> tests/ui/large_futures.rs:33 :5
29
+ --> tests/ui/large_futures.rs:32 :5
30
30
|
31
31
LL | foo().await;
32
32
| ^^^^^ help: consider `Box::pin` on it: `Box::pin(foo())`
33
33
34
34
error: large future with a size of 49159 bytes
35
- --> tests/ui/large_futures.rs:35 :5
35
+ --> tests/ui/large_futures.rs:34 :5
36
36
|
37
37
LL | calls_fut(fut).await;
38
38
| ^^^^^^^^^^^^^^ help: consider `Box::pin` on it: `Box::pin(calls_fut(fut))`
39
39
40
40
error: large future with a size of 65540 bytes
41
- --> tests/ui/large_futures.rs:48 :5
41
+ --> tests/ui/large_futures.rs:47 :5
42
42
|
43
43
LL | / async {
44
44
LL | |
@@ -59,7 +59,7 @@ LL + })
59
59
|
60
60
61
61
error: large future with a size of 65540 bytes
62
- --> tests/ui/large_futures.rs:60 :13
62
+ --> tests/ui/large_futures.rs:59 :13
63
63
|
64
64
LL | / async {
65
65
LL | | let x = [0i32; 1024 * 16];
0 commit comments