mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
ba2ac3e263
Fix `question_mark` FP on custom error type Closes #7859 #7840 aims to ignore `question_mark` when the return type is custom, which is [covered here](https://github.com/rust-lang/rust-clippy/blob/df65291edd6b89a241fed483ab165c32df468746/tests/ui/question_mark.rs#L144-L149). But this fails when there is a call in conditional predicate changelog: [`question_mark`] Fix false positive when there is call in conditional predicate