Skip to content

Commit

Permalink
Revert "Revert "Rollup merge of rust-lang#98582 - oli-obk:unconstrain…
Browse files Browse the repository at this point in the history
…ed_opaque_type, r=estebank""

This reverts commit 4a742a6.
  • Loading branch information
oli-obk committed Sep 16, 2022
1 parent dcc6153 commit c2e9c99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_utils/src/qualify_min_const_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2e9c99

Please sign in to comment.