about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-16 14:21:43 +0000
committerbors <bors@rust-lang.org>2023-02-16 14:21:43 +0000
commit52c8b536c954bc543290f36f2d90f3e75facaa0b (patch)
tree9a15b893f92bd011ccbcdd174348efedcd5159c0 /tests/debuginfo/enum-thinlto.rs
parent99d4ea4f399a81f09a04045ac3f0bce022d0f1ba (diff)
parent09337981b21c7004791260fde7ab7f1e21abf5ca (diff)
downloadrust-52c8b536c954bc543290f36f2d90f3e75facaa0b.tar.gz
rust-52c8b536c954bc543290f36f2d90f3e75facaa0b.zip
Auto merge of #10342 - mitsuhiko:feature/question-mark-used, r=Alexendoo
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 -->
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions