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