Skip to content

Commit c75dfeb

Browse files
committed
wildcard_match_arm: add lint properly.
1 parent 23eae09 commit c75dfeb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,7 @@ All notable changes to this project will be documented in this file.
10281028
[`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
10291029
[`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
10301030
[`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
1031+
[`wildcard_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_match_arm
10311032
[`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
10321033
[`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
10331034
[`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
499499
indexing_slicing::INDEXING_SLICING,
500500
inherent_impl::MULTIPLE_INHERENT_IMPL,
501501
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
502+
matches::WILDCARD_MATCH_ARM,
502503
mem_forget::MEM_FORGET,
503504
methods::CLONE_ON_REF_PTR,
504505
methods::OPTION_UNWRAP_USED,

0 commit comments

Comments
 (0)