]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #4657 - Licenser:additional-restrictions, r=flip1995
authorbors <bors@rust-lang.org>
Fri, 18 Oct 2019 10:32:01 +0000 (10:32 +0000)
committerbors <bors@rust-lang.org>
Fri, 18 Oct 2019 10:32:01 +0000 (10:32 +0000)
Additional restrictions

Add restriction lints for `panic!`, `unreachable!`, `todo!` and `.expect(...)`

changelog: Add 5 new `restriction` lints: `panic`, `unreachable`, `todo`, `option_expect_used`, `result_expect_used`


Trivial merge