diff --git a/CHANGELOG.md b/CHANGELOG.md index 9529d7bcc..e062ae640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change Log All notable changes to this project will be documented in this file. +## 0.0.136 - 2017-05-26 +* Update to *rustc 1.19.0-nightly (557967766 2017-05-26)* + ## 0.0.135 - 2017-05-24 * Update to *rustc 1.19.0-nightly (5b13bff52 2017-05-23)* diff --git a/Cargo.toml b/Cargo.toml index 57b069fde..e2bf05640 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.135" +version = "0.0.136" authors = [ "Manish Goregaokar ", "Andre Bogus ", @@ -31,7 +31,7 @@ test = false [dependencies] # begin automatic update -clippy_lints = { version = "0.0.135", path = "clippy_lints" } +clippy_lints = { version = "0.0.136", path = "clippy_lints" } # end automatic update cargo_metadata = "0.2" diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 323667ca2..aa7d2b96e 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clippy_lints" # begin automatic update -version = "0.0.135" +version = "0.0.136" # end automatic update authors = [ "Manish Goregaokar ", diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index 17568520d..f5f1fe030 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -288,7 +288,7 @@ pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option { }; for item in &mem::replace(&mut items, vec![]) { - if item.name == *segment { + if item.ident.name == *segment { if path_it.peek().is_none() { return Some(item.def); }