2 Checks for calls to `push` immediately after creating a new `Vec`.
4 If the `Vec` is created using `with_capacity` this will only lint if the capacity is a
5 constant and the number of pushes is greater than or equal to the initial capacity.
7 If the `Vec` is extended after the initial sequence of pushes and it was default initialized
8 then this will only lint after there were at least four pushes. This number may change in
12 The `vec![]` macro is both more performant and easier to read than
13 multiple `push` calls.
17 let mut v = Vec::new();