Skip to content

Commit 1a6ae4e

Browse files
authored
Merge pull request #2851 from mati865/master
Version bump
2 parents 45bab50 + 8625cfb commit 1a6ae4e

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 6 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.208
5+
* Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)*
6+
47
## 0.0.207
58
* Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
69

@@ -643,6 +646,7 @@ All notable changes to this project will be documented in this file.
643646
[`drop_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_copy
644647
[`drop_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_ref
645648
[`duplicate_underscore_argument`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
649+
[`duration_subsec`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#duration_subsec
646650
[`else_if_without_else`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#else_if_without_else
647651
[`empty_enum`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_enum
648652
[`empty_line_after_outer_attr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
@@ -654,6 +658,7 @@ All notable changes to this project will be documented in this file.
654658
[`erasing_op`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#erasing_op
655659
[`eval_order_dependence`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#eval_order_dependence
656660
[`excessive_precision`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#excessive_precision
661+
[`expect_fun_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expect_fun_call
657662
[`expl_impl_clone_on_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
658663
[`explicit_counter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_counter_loop
659664
[`explicit_into_iter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
@@ -829,6 +834,7 @@ All notable changes to this project will be documented in this file.
829834
[`transmute_ptr_to_ptr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
830835
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
831836
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
837+
[`trivially_copy_pass_by_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
832838
[`type_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#type_complexity
833839
[`unicode_not_nfc`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unicode_not_nfc
834840
[`unimplemented`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unimplemented

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cargo-features = ["edition"]
22

33
[package]
44
name = "clippy"
5-
version = "0.0.207"
5+
version = "0.0.208"
66
authors = [
77
"Manish Goregaokar <[email protected]>",
88
"Andre Bogus <[email protected]>",
@@ -40,7 +40,7 @@ path = "src/driver.rs"
4040

4141
[dependencies]
4242
# begin automatic update
43-
clippy_lints = { version = "0.0.207", path = "clippy_lints" }
43+
clippy_lints = { version = "0.0.208", path = "clippy_lints" }
4444
# end automatic update
4545
regex = "1"
4646
semver = "0.9"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
99

10-
[There are 265 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
10+
[There are 268 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
1111

1212
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
1313

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cargo-features = ["edition"]
33
[package]
44
name = "clippy_lints"
55
# begin automatic update
6-
version = "0.0.207"
6+
version = "0.0.208"
77
# end automatic update
88
authors = [
99
"Manish Goregaokar <[email protected]>",

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
591591
methods::CHARS_NEXT_CMP,
592592
methods::CLONE_DOUBLE_REF,
593593
methods::CLONE_ON_COPY,
594+
methods::EXPECT_FUN_CALL,
594595
methods::FILTER_NEXT,
595596
methods::GET_UNWRAP,
596597
methods::ITER_CLONED_COLLECT,
@@ -600,7 +601,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
600601
methods::OK_EXPECT,
601602
methods::OPTION_MAP_OR_NONE,
602603
methods::OR_FUN_CALL,
603-
methods::EXPECT_FUN_CALL,
604604
methods::SEARCH_IS_SOME,
605605
methods::SHOULD_IMPLEMENT_TRAIT,
606606
methods::SINGLE_CHAR_PATTERN,
@@ -916,9 +916,9 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
916916
large_enum_variant::LARGE_ENUM_VARIANT,
917917
loops::MANUAL_MEMCPY,
918918
loops::UNUSED_COLLECT,
919+
methods::EXPECT_FUN_CALL,
919920
methods::ITER_NTH,
920921
methods::OR_FUN_CALL,
921-
methods::EXPECT_FUN_CALL,
922922
methods::SINGLE_CHAR_PATTERN,
923923
misc::CMP_OWNED,
924924
mutex_atomic::MUTEX_ATOMIC,

clippy_lints/src/unsafe_removed_from_name.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl EarlyLintPass for UnsafeNameRemoval {
4343

4444
fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
4545
match use_tree.kind {
46-
UseTreeKind::Simple(Some(new_name)) => {
46+
UseTreeKind::Simple(Some(new_name), ..) => {
4747
let old_name = use_tree
4848
.prefix
4949
.segments
@@ -52,7 +52,7 @@ fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
5252
.ident;
5353
unsafe_to_safe_check(old_name, new_name, cx, span);
5454
}
55-
UseTreeKind::Simple(None) |
55+
UseTreeKind::Simple(None, ..) |
5656
UseTreeKind::Glob => {},
5757
UseTreeKind::Nested(ref nested_use_tree) => {
5858
for &(ref use_tree, _) in nested_use_tree {

0 commit comments

Comments
 (0)