fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: it looks like the same item is being pushed into this Vec 2 --> $DIR/same_item_push.rs:23:9 3 | 4LL | vec.push(item); 5 | ^^^ 6 | 7 = help: try using vec![item;SIZE] or vec.resize(NEW_SIZE, item) 8 = note: `-D clippy::same-item-push` implied by `-D warnings` 9 = help: to override `-D warnings` add `#[allow(clippy::same_item_push)]` 10 11error: it looks like the same item is being pushed into this Vec 12 --> $DIR/same_item_push.rs:30:9 13 | 14LL | vec.push(item); 15 | ^^^ 16 | 17 = help: try using vec![item;SIZE] or vec.resize(NEW_SIZE, item) 18 19error: it looks like the same item is being pushed into this Vec 20 --> $DIR/same_item_push.rs:36:9 21 | 22LL | vec.push(13); 23 | ^^^ 24 | 25 = help: try using vec![13;SIZE] or vec.resize(NEW_SIZE, 13) 26 27error: it looks like the same item is being pushed into this Vec 28 --> $DIR/same_item_push.rs:42:9 29 | 30LL | vec.push(VALUE); 31 | ^^^ 32 | 33 = help: try using vec![VALUE;SIZE] or vec.resize(NEW_SIZE, VALUE) 34 35error: it looks like the same item is being pushed into this Vec 36 --> $DIR/same_item_push.rs:49:9 37 | 38LL | vec.push(item); 39 | ^^^ 40 | 41 = help: try using vec![item;SIZE] or vec.resize(NEW_SIZE, item) 42 43error: aborting due to 5 previous errors 44