]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/large_stack_arrays.stderr
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / large_stack_arrays.stderr
index 0d91b65b428407045b0141216b734316aefa8559..c7bf941ad00913edb3e8595f45672ad897f9735b 100644 (file)
@@ -4,8 +4,8 @@ error: allocating a local array larger than 512000 bytes
 LL |         [0u32; 20_000_000],
    |         ^^^^^^^^^^^^^^^^^^
    |
-   = note: `-D clippy::large-stack-arrays` implied by `-D warnings`
    = help: consider allocating on the heap with `vec![0u32; 20_000_000].into_boxed_slice()`
+   = note: `-D clippy::large-stack-arrays` implied by `-D warnings`
 
 error: allocating a local array larger than 512000 bytes
   --> $DIR/large_stack_arrays.rs:24:9