update ui tests

This commit is contained in:
Oliver Schneider 2017-02-13 11:57:14 +01:00
parent 40ea5e8c5d
commit 8b3ad61dd3

View File

@ -950,13 +950,18 @@ help: assign the `CString` to a variable to extend its lifetime
687 | CString::new("foo").unwrap().as_ptr();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: called `cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable
error: called `cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable
--> $DIR/methods.rs:695:27
|
695 | let v2 : Vec<isize> = v.iter().cloned().collect();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(iter_cloned_collect)] on by default
= note: #[deny(iter_cloned_collect)] implied by #[deny(clippy)]
note: lint level defined here
--> $DIR/methods.rs:5:9
|
5 | #![deny(clippy, clippy_pedantic)]
| ^^^^^^
error: aborting due to 88 previous errors
error: aborting due to 89 previous errors