Skip to content

Commit

Permalink
Update UI test .stderr files
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed Dec 12, 2018
1 parent 835b7f0 commit 0e40b53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ui/collect.stderr
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
error: you are creating a collection of `Result`s
--> $DIR/collect.rs:6:21
|
6 | let option_vec: Vec<_> = b.into_iter()
6 | let option_vec: Vec<_> = b.iter()
| ^^^^^^
|
= note: `-D possible-shortcircuiting-collect` implied by `-D warnings`
= note: `-D clippy::possible-shortcircuiting-collect` implied by `-D warnings`
help: if you are only interested in the case where all values are `Ok`, try
|
6 | let option_vec: Result<std::vec::Vec<_>, _> = b.into_iter()
6 | let option_vec: Result<std::vec::Vec<_>, _> = b.iter()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: you are creating a collection of `Option`s
Expand Down

0 comments on commit 0e40b53

Please sign in to comment.