From 30b94b0fb07dd11b8fca93ff0e547556e9634a8b Mon Sep 17 00:00:00 2001 From: messense Date: Fri, 19 May 2017 16:54:02 +0800 Subject: [PATCH 1/3] Fix build failure on rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18) --- clippy_lints/src/utils/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index 490b447850a..ffe22257838 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -325,8 +325,6 @@ pub fn implements_trait<'a, 'tcx>( ty_params: &[ty::Ty<'tcx>], parent_node_id: Option ) -> bool { - cx.tcx.populate_implementations_for_trait_if_necessary(trait_id); - let ty = cx.tcx.erase_regions(&ty); let mut b = if let Some(id) = parent_node_id { cx.tcx.infer_ctxt(BodyId { node_id: id }, Reveal::All) From 2f67767243c4705fe4021d29603fdf1a4613a325 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 19 May 2017 17:02:29 +0200 Subject: [PATCH 2/3] Sort entries in pre-publish script --- pre_publish.sh | 2 +- publish.files | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pre_publish.sh b/pre_publish.sh index ee8e51cda6b..aca17b968a8 100755 --- a/pre_publish.sh +++ b/pre_publish.sh @@ -4,7 +4,7 @@ set -e ./util/update_lints.py -git status --short | sort | grep -v README.md | grep -v helper.txt > helper.txt +git status --short | sort | grep -v README.md | grep -v helper.txt | sort > helper.txt # abort if the files differ diff "publish.files" "helper.txt" diff --git a/publish.files b/publish.files index f39a07c9142..9ee50447f99 100644 --- a/publish.files +++ b/publish.files @@ -1,3 +1,3 @@ - M CHANGELOG.md M Cargo.toml + M CHANGELOG.md M clippy_lints/Cargo.toml From dd9051507b8eafe50cc49885cd08912b2d6ae05e Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 19 May 2017 17:02:38 +0200 Subject: [PATCH 3/3] Bump the version --- CHANGELOG.md | 3 +++ Cargo.toml | 4 ++-- clippy_lints/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e2d142fe5d..e3779268f0f 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.134 - 2017-05-19 +* Update to *rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)* + ## 0.0.133 - 2017-05-14 * Update to *rustc 1.19.0-nightly (826d8f385 2017-05-13)* diff --git a/Cargo.toml b/Cargo.toml index ce033c7b1fd..8e5ad06b625 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.133" +version = "0.0.134" authors = [ "Manish Goregaokar ", "Andre Bogus ", @@ -30,7 +30,7 @@ test = false [dependencies] # begin automatic update -clippy_lints = { version = "0.0.133", path = "clippy_lints" } +clippy_lints = { version = "0.0.134", path = "clippy_lints" } # end automatic update cargo_metadata = "0.2" diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 9c6a2819535..7362dca8cc3 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.133" +version = "0.0.134" # end automatic update authors = [ "Manish Goregaokar ",