]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/uninit_vec.stderr
Rollup merge of #100462 - zohnannor:master, r=thomcc
[rust.git] / src / tools / clippy / tests / ui / uninit_vec.stderr
index 520bfb26b62e1b7c23c521cb859113fb31aa540e..77fc689f076355babe7a4abfbdf756ee5363a542 100644 (file)
@@ -7,8 +7,8 @@ LL |     unsafe {
 LL |         vec.set_len(200);
    |         ^^^^^^^^^^^^^^^^
    |
-   = note: `-D clippy::uninit-vec` implied by `-D warnings`
    = help: initialize the buffer or wrap the content in `MaybeUninit`
+   = note: `-D clippy::uninit-vec` implied by `-D warnings`
 
 error: calling `set_len()` immediately after reserving a buffer creates uninitialized values
   --> $DIR/uninit_vec.rs:18:5