Skip to content

Conversation

mcarton
Copy link
Contributor

@mcarton mcarton commented Sep 23, 2016

This brings in rust-lang/rust#36335 that was affecting Clippy some time ago and probably some other stuffs.
I've only bump the patch number because it should be mostly compatible but this requires some small changes in Clippy's repo:

diff --git a/tests/run-pass/deprecated.rs b/tests/run-pass/deprecated.rs
index 70223bf..670b096 100644
--- a/tests/run-pass/deprecated.rs
+++ b/tests/run-pass/deprecated.rs
@@ -2,11 +2,11 @@
 #![plugin(clippy)]

 #[warn(str_to_string)]
-//~^WARNING: warning: lint str_to_string has been removed: using `str::to_string`
+//~^WARNING: lint str_to_string has been removed: using `str::to_string`
 #[warn(string_to_string)]
-//~^WARNING: warning: lint string_to_string has been removed: using `string::to_string`
+//~^WARNING: lint string_to_string has been removed: using `string::to_string`
 #[warn(unstable_as_slice)]
-//~^WARNING: warning: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
+//~^WARNING: lint unstable_as_slice has been removed: `Vec::as_slice` has been stabilized
 #[warn(unstable_as_mut_slice)]
-//~^WARNING: warning: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
+//~^WARNING: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been stabilized
 fn main() {}

@Manishearth Manishearth merged commit 658b524 into Manishearth:master Sep 23, 2016
@Manishearth
Copy link
Owner

published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants