Rustup to rustc 1.19.0-nightly (557967766 2017-05-26)

This commit is contained in:
Manish Goregaokar 2017-05-26 22:25:39 -07:00
parent d4c91b228e
commit 8d3c48601d
4 changed files with 7 additions and 4 deletions

View file

@ -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)*

View file

@ -1,6 +1,6 @@
[package]
name = "clippy"
version = "0.0.135"
version = "0.0.136"
authors = [
"Manish Goregaokar <manishsmail@gmail.com>",
"Andre Bogus <bogusandre@gmail.com>",
@ -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"

View file

@ -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 <manishsmail@gmail.com>",

View file

@ -288,7 +288,7 @@ pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<def::Def> {
};
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);
}