]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #5724 - ebroto:5697_const_result_option, r=Manishearth
authorPhilipp Krones <hello@philkrones.com>
Tue, 23 Jun 2020 12:39:49 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 12:39:49 +0000 (14:39 +0200)
redundant_pattern_matching: avoid non-`const fn` calls in const contexts

changelog: Avoid suggesting non-`const fn` calls in const contexts in [`redundant_pattern_matching`]

Fixes #5697

1  2 
clippy_lints/src/redundant_pattern_matching.rs