Skip to content

Commit c2e9c99

Browse files
committed
Revert "Revert "Rollup merge of rust-lang#98582 - oli-obk:unconstrained_opaque_type, r=estebank""
This reverts commit 4a742a6.
1 parent dcc6153 commit c2e9c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_utils/src/qualify_min_const_fn.rs

+1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B
260260
}
261261
},
262262
ProjectionElem::ConstantIndex { .. }
263+
| ProjectionElem::OpaqueCast(..)
263264
| ProjectionElem::Downcast(..)
264265
| ProjectionElem::Subslice { .. }
265266
| ProjectionElem::Deref

0 commit comments

Comments
 (0)