]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #4841 - phaylon:pattern-type-mismatch, r=flip1995
authorbors <bors@rust-lang.org>
Fri, 3 Jul 2020 16:41:26 +0000 (16:41 +0000)
committerbors <bors@rust-lang.org>
Fri, 3 Jul 2020 16:41:26 +0000 (16:41 +0000)
Added restriction lint: pattern-type-mismatch

changelog: Added a new restriction lint `pattern-type-mismatch`. This lint is especially helpful for beginners learning about the magic behind pattern matching. (This explanation might be worth to include in the next changelog.)

1  2 
clippy_lints/src/lib.rs

Simple merge