rust-clippy/tests/ui/unnecessary_join.stderr

22 lines
720 B
Text
Raw Normal View History

error: called `.collect::<Vec<String>>().join("")` on an iterator
2024-02-17 12:16:29 +00:00
--> tests/ui/unnecessary_join.rs:10:10
|
LL | .collect::<Vec<String>>()
| __________^
LL | | .join("");
2024-01-18 17:17:53 +00:00
| |_________________^ help: consider using: `collect::<String>()`
|
= note: `-D clippy::unnecessary-join` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_join)]`
error: called `.collect::<Vec<String>>().join("")` on an iterator
2024-02-17 12:16:29 +00:00
--> tests/ui/unnecessary_join.rs:19:10
|
LL | .collect::<Vec<_>>()
| __________^
LL | | .join("");
2024-01-18 17:17:53 +00:00
| |_________________^ help: consider using: `collect::<String>()`
error: aborting due to 2 previous errors