]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/same_item_push.stderr
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / same_item_push.stderr
index d9ffa15780ad004b17609a48ef8e241af1992c7e..1d1254d9fcc619910878aa863fa1b8ce87b7a83d 100644 (file)
@@ -4,8 +4,8 @@ error: it looks like the same item is being pushed into this Vec
 LL |         vec.push(item);
    |         ^^^
    |
-   = note: `-D clippy::same-item-push` implied by `-D warnings`
    = help: try using vec![item;SIZE] or vec.resize(NEW_SIZE, item)
+   = note: `-D clippy::same-item-push` implied by `-D warnings`
 
 error: it looks like the same item is being pushed into this Vec
   --> $DIR/same_item_push.rs:29:9