1 error: allocating a local array larger than 512000 bytes
2 --> $DIR/large_stack_arrays.rs:17:9
4 LL | [0u32; 20_000_000],
7 = note: `-D clippy::large-stack-arrays` implied by `-D warnings`
8 = help: consider allocating on the heap with `vec![0u32; 20_000_000].into_boxed_slice()`
10 error: allocating a local array larger than 512000 bytes
11 --> $DIR/large_stack_arrays.rs:18:9
13 LL | [S { data: [0; 32] }; 5000],
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider allocating on the heap with `vec![S { data: [0; 32] }; 5000].into_boxed_slice()`
18 error: allocating a local array larger than 512000 bytes
19 --> $DIR/large_stack_arrays.rs:19:9
21 LL | [Some(""); 20_000_000],
22 | ^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider allocating on the heap with `vec![Some(""); 20_000_000].into_boxed_slice()`
26 error: allocating a local array larger than 512000 bytes
27 --> $DIR/large_stack_arrays.rs:20:9
32 = help: consider allocating on the heap with `vec![E::T(0); 5000].into_boxed_slice()`
34 error: aborting due to 4 previous errors