Skip to content

Commit 0e40b53

Browse files
committed
Update UI test .stderr files
1 parent 835b7f0 commit 0e40b53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/collect.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: you are creating a collection of `Result`s
22
--> $DIR/collect.rs:6:21
33
|
4-
6 | let option_vec: Vec<_> = b.into_iter()
4+
6 | let option_vec: Vec<_> = b.iter()
55
| ^^^^^^
66
|
7-
= note: `-D possible-shortcircuiting-collect` implied by `-D warnings`
7+
= note: `-D clippy::possible-shortcircuiting-collect` implied by `-D warnings`
88
help: if you are only interested in the case where all values are `Ok`, try
99
|
10-
6 | let option_vec: Result<std::vec::Vec<_>, _> = b.into_iter()
10+
6 | let option_vec: Result<std::vec::Vec<_>, _> = b.iter()
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212

1313
error: you are creating a collection of `Option`s

0 commit comments

Comments
 (0)