mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
wildcard_match_arm: add lint properly.
This commit is contained in:
parent
23eae0909d
commit
c75dfeb29b
2 changed files with 2 additions and 0 deletions
|
@ -1028,6 +1028,7 @@ All notable changes to this project will be documented in this file.
|
||||||
[`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
|
[`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
|
||||||
[`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
|
[`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
|
||||||
[`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
|
[`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
|
||||||
|
[`wildcard_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_match_arm
|
||||||
[`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
|
[`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
|
||||||
[`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
|
[`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
|
||||||
[`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string
|
[`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string
|
||||||
|
|
|
@ -499,6 +499,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
|
||||||
indexing_slicing::INDEXING_SLICING,
|
indexing_slicing::INDEXING_SLICING,
|
||||||
inherent_impl::MULTIPLE_INHERENT_IMPL,
|
inherent_impl::MULTIPLE_INHERENT_IMPL,
|
||||||
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
|
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
|
||||||
|
matches::WILDCARD_MATCH_ARM,
|
||||||
mem_forget::MEM_FORGET,
|
mem_forget::MEM_FORGET,
|
||||||
methods::CLONE_ON_REF_PTR,
|
methods::CLONE_ON_REF_PTR,
|
||||||
methods::OPTION_UNWRAP_USED,
|
methods::OPTION_UNWRAP_USED,
|
||||||
|
|
Loading…
Reference in a new issue