Skip to content

Commit 417a600

Browse files
committed
Introduce opaque type to hidden type projection
1 parent 6dc9746 commit 417a600

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B
252252
}
253253
},
254254
ProjectionElem::ConstantIndex { .. }
255+
| ProjectionElem::OpaqueCast(..)
255256
| ProjectionElem::Downcast(..)
256257
| ProjectionElem::Subslice { .. }
257258
| ProjectionElem::Deref

0 commit comments

Comments
 (0)