]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/box_vec.stderr
iterate List by value
[rust.git] / tests / ui / box_vec.stderr
index 84c0b6c36e3ce79c104fc7cdc21c0fd35c70792c..fca12eddd573f04c1721bf2143d235ad2e3a06aa 100644 (file)
@@ -1,7 +1,7 @@
 error: you seem to be trying to use `Box<Vec<T>>`. Consider using just `Vec<T>`
-  --> $DIR/box_vec.rs:23:18
+  --> $DIR/box_vec.rs:14:18
    |
-23 | pub fn test(foo: Box<Vec<bool>>) {
+LL | pub fn test(foo: Box<Vec<bool>>) {
    |                  ^^^^^^^^^^^^^^
    |
    = note: `-D clippy::box-vec` implied by `-D warnings`