]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/large_moves.option.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / async-await / large_moves.option.stderr
CommitLineData
cdc7bbd5 1error: moving 10024 bytes
94222f64 2 --> $DIR/large_moves.rs:12:13
cdc7bbd5
XL
3 |
4LL | let x = async {
5 | _____________^
6LL | | let y = [0; 9999];
7LL | | dbg!(y);
8LL | | thing(&y).await;
9LL | | dbg!(y);
10LL | | };
11 | |_____^ value moved from here
12 |
13note: the lint level is defined here
14 --> $DIR/large_moves.rs:1:9
15 |
16LL | #![deny(large_assignments)]
17 | ^^^^^^^^^^^^^^^^^
5e7ed085 18 = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
cdc7bbd5
XL
19
20error: moving 10024 bytes
94222f64 21 --> $DIR/large_moves.rs:18:14
cdc7bbd5
XL
22 |
23LL | let z = (x, 42);
24 | ^ value moved from here
5e7ed085
FG
25 |
26 = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
cdc7bbd5
XL
27
28error: moving 10024 bytes
94222f64 29 --> $DIR/large_moves.rs:18:13
cdc7bbd5
XL
30 |
31LL | let z = (x, 42);
32 | ^^^^^^^ value moved from here
5e7ed085
FG
33 |
34 = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
cdc7bbd5
XL
35
36error: moving 10024 bytes
94222f64 37 --> $DIR/large_moves.rs:20:13
cdc7bbd5
XL
38 |
39LL | let a = z.0;
40 | ^^^ value moved from here
5e7ed085
FG
41 |
42 = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
cdc7bbd5
XL
43
44error: aborting due to 4 previous errors
45