Skip to content

Commit 08bf08f

Browse files
committed
Bump to 0.0.167
1 parent f76225e commit 08bf08f

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.167
5+
* Rustup to ???
6+
* New lints: [`const_static_lifetime`], [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`]
7+
48
## 0.0.166
59
* Rustup to *rustc 1.22.0-nightly (b7960878b 2017-10-18)*
610
* New lints: [`explicit_write`], [`identity_conversion`], [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`], [`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`], [`transmute_int_to_float`]
@@ -486,6 +490,7 @@ All notable changes to this project will be documented in this file.
486490
[`cmp_null`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cmp_null
487491
[`cmp_owned`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cmp_owned
488492
[`collapsible_if`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#collapsible_if
493+
[`const_static_lifetime`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#const_static_lifetime
489494
[`crosspointer_transmute`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#crosspointer_transmute
490495
[`cyclomatic_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cyclomatic_complexity
491496
[`deprecated_semver`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#deprecated_semver
@@ -504,13 +509,15 @@ All notable changes to this project will be documented in this file.
504509
[`enum_glob_use`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#enum_glob_use
505510
[`enum_variant_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#enum_variant_names
506511
[`eq_op`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#eq_op
512+
[`erasing_op`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#erasing_op
507513
[`eval_order_dependence`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#eval_order_dependence
508514
[`expl_impl_clone_on_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
509515
[`explicit_counter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_counter_loop
510516
[`explicit_into_iter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
511517
[`explicit_iter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_iter_loop
512518
[`explicit_write`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_write
513519
[`extend_from_slice`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#extend_from_slice
520+
[`fallible_impl_from`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#fallible_impl_from
514521
[`filter_map`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#filter_map
515522
[`filter_next`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#filter_next
516523
[`float_arithmetic`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#float_arithmetic
@@ -611,6 +618,7 @@ All notable changes to this project will be documented in this file.
611618
[`precedence`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#precedence
612619
[`print_stdout`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#print_stdout
613620
[`print_with_newline`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#print_with_newline
621+
[`println_empty_string`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#println_empty_string
614622
[`ptr_arg`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#ptr_arg
615623
[`pub_enum_variant_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#pub_enum_variant_names
616624
[`range_minus_one`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#range_minus_one
@@ -673,6 +681,7 @@ All notable changes to this project will be documented in this file.
673681
[`use_debug`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#use_debug
674682
[`use_self`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#use_self
675683
[`used_underscore_binding`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#used_underscore_binding
684+
[`useless_asref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#useless_asref
676685
[`useless_attribute`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#useless_attribute
677686
[`useless_format`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#useless_format
678687
[`useless_let_if_seq`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#useless_let_if_seq

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.166"
3+
version = "0.0.167"
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.166", path = "clippy_lints" }
40+
clippy_lints = { version = "0.0.167", path = "clippy_lints" }
4141
# end automatic update
4242
cargo_metadata = "0.2"
4343

clippy_lints/Cargo.toml

+1-1
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.166"
4+
version = "0.0.167"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/lib.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,20 @@ pub mod entry;
9393
pub mod enum_clike;
9494
pub mod enum_glob_use;
9595
pub mod enum_variants;
96-
pub mod erasing_op;
9796
pub mod eq_op;
97+
pub mod erasing_op;
9898
pub mod escape;
9999
pub mod eta_reduction;
100100
pub mod eval_order_dependence;
101101
pub mod explicit_write;
102+
pub mod fallible_impl_from;
102103
pub mod format;
103104
pub mod formatting;
104105
pub mod functions;
105106
pub mod identity_conversion;
106107
pub mod identity_op;
107108
pub mod if_let_redundant_pattern_matching;
108109
pub mod if_not_else;
109-
pub mod fallible_impl_from;
110110
pub mod infinite_iter;
111111
pub mod int_plus_one;
112112
pub mod invalid_ref;
@@ -209,7 +209,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
209209
let mut store = reg.sess.lint_store.borrow_mut();
210210
store.register_removed(
211211
"should_assert_eq",
212-
"`assert!()` will be more flexible with RFC 2011"
212+
"`assert!()` will be more flexible with RFC 2011",
213213
);
214214
store.register_removed(
215215
"extend_from_slice",
@@ -360,11 +360,11 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
360360

361361
reg.register_lint_group("clippy_pedantic", vec![
362362
booleans::NONMINIMAL_BOOL,
363-
const_static_lifetime::CONST_STATIC_LIFETIME,
364363
empty_enum::EMPTY_ENUM,
365364
enum_glob_use::ENUM_GLOB_USE,
366365
enum_variants::PUB_ENUM_VARIANT_NAMES,
367366
enum_variants::STUTTER,
367+
fallible_impl_from::FALLIBLE_IMPL_FROM,
368368
if_not_else::IF_NOT_ELSE,
369369
infinite_iter::MAYBE_INFINITE_ITER,
370370
int_plus_one::INT_PLUS_ONE,
@@ -423,6 +423,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
423423
booleans::LOGIC_BUG,
424424
bytecount::NAIVE_BYTECOUNT,
425425
collapsible_if::COLLAPSIBLE_IF,
426+
const_static_lifetime::CONST_STATIC_LIFETIME,
426427
copies::IF_SAME_THEN_ELSE,
427428
copies::IFS_SAME_COND,
428429
copies::MATCH_SAME_ARMS,
@@ -441,6 +442,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
441442
enum_variants::MODULE_INCEPTION,
442443
eq_op::EQ_OP,
443444
eq_op::OP_REF,
445+
erasing_op::ERASING_OP,
444446
escape::BOXED_LOCAL,
445447
eta_reduction::REDUNDANT_CLOSURE,
446448
eval_order_dependence::DIVERGING_SUB_EXPRESSION,
@@ -455,7 +457,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
455457
identity_conversion::IDENTITY_CONVERSION,
456458
identity_op::IDENTITY_OP,
457459
if_let_redundant_pattern_matching::IF_LET_REDUNDANT_PATTERN_MATCHING,
458-
fallible_impl_from::FALLIBLE_IMPL_FROM,
459460
infinite_iter::INFINITE_ITER,
460461
invalid_ref::INVALID_REF,
461462
is_unit_expr::UNIT_EXPR,
@@ -509,6 +510,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
509510
methods::SINGLE_CHAR_PATTERN,
510511
methods::STRING_EXTEND_CHARS,
511512
methods::TEMPORARY_CSTRING_AS_PTR,
513+
methods::USELESS_ASREF,
512514
methods::WRONG_SELF_CONVENTION,
513515
minmax::MIN_MAX,
514516
misc::CMP_NAN,

0 commit comments

Comments
 (0)