Skip to content

Commit d0bfaea

Browse files
committed
Fix problems from merge, if_chain! isn't working
1 parent ebbc8c7 commit d0bfaea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,7 @@ All notable changes to this project will be documented in this file.
10481048
[`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
10491049
[`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
10501050
[`use_debug`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_debug
1051+
[`use_last`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_last
10511052
[`use_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_self
10521053
[`used_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
10531054
[`useless_asref`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref

clippy_lints/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ pub mod unsafe_removed_from_name;
243243
pub mod unused_io_amount;
244244
pub mod unused_label;
245245
pub mod unwrap;
246+
pub mod use_last;
246247
pub mod use_self;
247248
pub mod vec;
248249
pub mod wildcard_dependencies;
@@ -845,6 +846,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
845846
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
846847
unused_io_amount::UNUSED_IO_AMOUNT,
847848
unused_label::UNUSED_LABEL,
849+
use_last::USE_LAST,
848850
vec::USELESS_VEC,
849851
write::PRINTLN_EMPTY_STRING,
850852
write::PRINT_LITERAL,
@@ -1008,6 +1010,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
10081010
types::UNNECESSARY_CAST,
10091011
types::VEC_BOX,
10101012
unused_label::UNUSED_LABEL,
1013+
use_last::USE_LAST,
10111014
zero_div_zero::ZERO_DIVIDED_BY_ZERO,
10121015
]);
10131016

0 commit comments

Comments
 (0)