mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
52c8b536c9
Add question-mark-used lint This lint complains when the question mark operator (try operator) is used. This is a restriction lint that can be useful on local scopes where a custom error handling macro is supposed to be used to augment the error based on local scope data before returning. Fixes #10340 --- changelog: New lint [`question_mark_used`] [#10342](https://github.com/rust-lang/rust-clippy/pull/10342) <!-- changelog_checked -->