@@ -4,7 +4,7 @@ error: moving 10024 bytes
4
4
LL | let z = (x, 42);
5
5
| ^ value moved from here
6
6
|
7
- = note: The current maximum size is 1000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
7
+ = note: The current maximum size is 2000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
8
8
note: the lint level is defined here
9
9
--> $DIR/large_moves.rs:1:9
10
10
|
@@ -17,23 +17,55 @@ error: moving 10024 bytes
17
17
LL | let a = z.0;
18
18
| ^^^ value moved from here
19
19
|
20
- = note: The current maximum size is 1000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
20
+ = note: The current maximum size is 2000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
21
21
22
22
error: moving 9999 bytes
23
23
--> $DIR/large_moves.rs:27:13
24
24
|
25
25
LL | let _ = NotBox::new([0; 9999]);
26
26
| ^^^^^^^^^^^^^^^^^^^^^^ value moved from here
27
27
|
28
- = note: The current maximum size is 1000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
28
+ = note: The current maximum size is 2000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
29
29
30
30
error: moving 9999 bytes
31
+ --> $DIR/large_moves.rs:63:13
32
+ |
33
+ LL | data,
34
+ | ^^^^ value moved from here
35
+ |
36
+ = note: The current maximum size is 2000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
37
+
38
+ error: moving 2500 bytes
31
39
--> $DIR/large_moves.rs:41:13
32
40
|
41
+ LL | let _ = NotBox::new([0; 2500]);
42
+ | ^^^^^^^^^^^^^^^^^^^^^^ value moved from here
43
+ |
44
+ = note: The current maximum size is 2000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
45
+
46
+ error: moving 5000 bytes
47
+ --> $DIR/large_moves.rs:47:13
48
+ |
49
+ LL | let _ = NotBox::new([0; 5000]);
50
+ | ^^^^^^^^^^^^^^^^^^^^^^ value moved from here
51
+ |
52
+ = note: The current maximum size is 2000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
53
+
54
+ error: moving 2500 bytes
55
+ --> $DIR/large_moves.rs:63:13
56
+ |
57
+ LL | data,
58
+ | ^^^^ value moved from here
59
+ |
60
+ = note: The current maximum size is 2000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
61
+
62
+ error: moving 5000 bytes
63
+ --> $DIR/large_moves.rs:63:13
64
+ |
33
65
LL | data,
34
66
| ^^^^ value moved from here
35
67
|
36
- = note: The current maximum size is 1000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
68
+ = note: The current maximum size is 2000 , but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
37
69
38
- error: aborting due to 4 previous errors
70
+ error: aborting due to 8 previous errors
39
71
0 commit comments