]> git.lizzy.rs Git - rust.git/blob - tests/ui/vec_resize_to_zero.stderr
Auto merge of #9622 - llogiq:box-dyn-default, r=Alexendoo
[rust.git] / tests / ui / vec_resize_to_zero.stderr
1 error: emptying a vector with `resize`
2   --> $DIR/vec_resize_to_zero.rs:7:5
3    |
4 LL |     v.resize(0, 5);
5    |     ^^------------
6    |       |
7    |       help: ...or you can empty the vector with: `clear()`
8    |
9    = help: the arguments may be inverted...
10    = note: `-D clippy::vec-resize-to-zero` implied by `-D warnings`
11
12 error: aborting due to previous error
13