]> git.lizzy.rs Git - rust.git/commitdiff
update ui tests
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Mon, 13 Feb 2017 10:57:14 +0000 (11:57 +0100)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Mon, 13 Feb 2017 10:57:14 +0000 (11:57 +0100)
tests/ui/methods.stderr

index da4f5c3f8074efa6dab42d9b0d90e1c077bed6ee..425a29bb79e7c762e17927d8099a7c089c2bda77 100644 (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