Skip to content

Commit 75ef9dc

Browse files
author
Jackson Lewis
committed
update_lints
1 parent 1d8f3b5 commit 75ef9dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,6 +2538,7 @@ Released 2018-09-13
25382538
[`unsound_collection_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsound_collection_transmute
25392539
[`unstable_as_mut_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_mut_slice
25402540
[`unstable_as_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice
2541+
[`unused_async`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
25412542
[`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
25422543
[`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
25432544
[`unused_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_self

clippy_lints/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ mod unnamed_address;
360360
mod unnecessary_self_imports;
361361
mod unnecessary_sort_by;
362362
mod unnecessary_wraps;
363-
mod unused_async;
364363
mod unnested_or_patterns;
365364
mod unsafe_removed_from_name;
365+
mod unused_async;
366366
mod unused_io_amount;
367367
mod unused_self;
368368
mod unused_unit;
@@ -955,12 +955,12 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
955955
unit_types::UNIT_CMP,
956956
unnamed_address::FN_ADDRESS_COMPARISONS,
957957
unnamed_address::VTABLE_ADDRESS_COMPARISONS,
958-
unused_async::UNUSED_ASYNC,
959958
unnecessary_self_imports::UNNECESSARY_SELF_IMPORTS,
960959
unnecessary_sort_by::UNNECESSARY_SORT_BY,
961960
unnecessary_wraps::UNNECESSARY_WRAPS,
962961
unnested_or_patterns::UNNESTED_OR_PATTERNS,
963962
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
963+
unused_async::UNUSED_ASYNC,
964964
unused_io_amount::UNUSED_IO_AMOUNT,
965965
unused_self::UNUSED_SELF,
966966
unused_unit::UNUSED_UNIT,
@@ -1415,9 +1415,9 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14151415
LintId::of(unicode::NON_ASCII_LITERAL),
14161416
LintId::of(unicode::UNICODE_NOT_NFC),
14171417
LintId::of(unit_types::LET_UNIT_VALUE),
1418-
LintId::of(unused_async::UNUSED_ASYNC),
14191418
LintId::of(unnecessary_wraps::UNNECESSARY_WRAPS),
14201419
LintId::of(unnested_or_patterns::UNNESTED_OR_PATTERNS),
1420+
LintId::of(unused_async::UNUSED_ASYNC),
14211421
LintId::of(unused_self::UNUSED_SELF),
14221422
LintId::of(wildcard_imports::ENUM_GLOB_USE),
14231423
LintId::of(wildcard_imports::WILDCARD_IMPORTS),

0 commit comments

Comments
 (0)