diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-07-27 11:58:34 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-09-16 11:36:39 +0000 |
| commit | c2e9c991d59d3aae0809165dbd9237515ae57ce3 (patch) | |
| tree | 709ee57219d982abc864325a787c675b746b7fa4 | |
| parent | dcc615391961439b919cae506fd5605d0752b063 (diff) | |
| download | rust-c2e9c991d59d3aae0809165dbd9237515ae57ce3.tar.gz rust-c2e9c991d59d3aae0809165dbd9237515ae57ce3.zip | |
Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank""
This reverts commit 4a742a691e7dd2522bad68b86fe2fd5a199d5561.
| -rw-r--r-- | clippy_utils/src/qualify_min_const_fn.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_utils/src/qualify_min_const_fn.rs b/clippy_utils/src/qualify_min_const_fn.rs index 8835b932909..405f0228683 100644 --- a/clippy_utils/src/qualify_min_const_fn.rs +++ b/clippy_utils/src/qualify_min_const_fn.rs @@ -260,6 +260,7 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B } }, ProjectionElem::ConstantIndex { .. } + | ProjectionElem::OpaqueCast(..) | ProjectionElem::Downcast(..) | ProjectionElem::Subslice { .. } | ProjectionElem::Deref |
