Skip to content

Commit d011dae

Browse files
committed
Rustup
1 parent 2f62d80 commit d011dae

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.180
5+
* Rustup to *rustc 1.25.0-nightly (3f92e8d89 2018-01-14)*
6+
47
## 0.0.179
58
* Rustup to *rustc 1.25.0-nightly (61452e506 2018-01-09)*
69

@@ -670,6 +673,7 @@ All notable changes to this project will be documented in this file.
670673
[`redundant_closure_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure_call
671674
[`redundant_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_pattern
672675
[`regex_macro`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#regex_macro
676+
[`replace_consts`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#replace_consts
673677
[`result_map_unwrap_or_else`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_map_unwrap_or_else
674678
[`result_unwrap_used`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_unwrap_used
675679
[`reverse_range_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#reverse_range_loop

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.179"
3+
version = "0.0.180"
44
authors = [
55
"Manish Goregaokar <[email protected]>",
66
"Andre Bogus <[email protected]>",
@@ -37,7 +37,7 @@ path = "src/driver.rs"
3737

3838
[dependencies]
3939
# begin automatic update
40-
clippy_lints = { version = "0.0.179", path = "clippy_lints" }
40+
clippy_lints = { version = "0.0.180", path = "clippy_lints" }
4141
# end automatic update
4242
cargo_metadata = "0.2"
4343
regex = "0.2"

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_lints"
33
# begin automatic update
4-
version = "0.0.179"
4+
version = "0.0.180"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Functions {
8686
use rustc::hir::map::Node::*;
8787

8888
let is_impl = if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(nodeid)) {
89-
matches!(item.node, hir::ItemImpl(_, _, _, _, Some(_), _, _) | hir::ItemAutoImpl(..))
89+
matches!(item.node, hir::ItemImpl(_, _, _, _, Some(_), _, _))
9090
} else {
9191
false
9292
};

clippy_lints/src/missing_doc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingDoc {
143143
hir::ItemGlobalAsm(..) => "an assembly blob",
144144
hir::ItemTy(..) => "a type alias",
145145
hir::ItemUnion(..) => "a union",
146-
hir::ItemAutoImpl(..) |
147146
hir::ItemExternCrate(..) |
148147
hir::ItemForeignMod(..) |
149148
hir::ItemImpl(..) |

clippy_lints/src/needless_pass_by_value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for NeedlessPassByValue {
8787

8888
// Exclude non-inherent impls
8989
if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(node_id)) {
90-
if matches!(item.node, ItemImpl(_, _, _, _, Some(_), _, _) | ItemAutoImpl(..) |
90+
if matches!(item.node, ItemImpl(_, _, _, _, Some(_), _, _) |
9191
ItemTrait(..))
9292
{
9393
return;

clippy_lints/src/utils/inspector.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,6 @@ fn print_item(cx: &LateContext, item: &hir::Item) {
406406
hir::ItemTraitAlias(..) => {
407407
println!("trait alias");
408408
}
409-
hir::ItemAutoImpl(_, ref _trait_ref) => {
410-
println!("auto impl");
411-
},
412409
hir::ItemImpl(_, _, _, _, Some(ref _trait_ref), _, _) => {
413410
println!("trait impl");
414411
},

0 commit comments

Comments
 (0)