Skip to content

Commit ea4b388

Browse files
committed
subtyping_projections
1 parent 1a82ca0 commit ea4b388

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
@@ -272,6 +272,7 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B
272272
| ProjectionElem::Downcast(..)
273273
| ProjectionElem::Subslice { .. }
274274
| ProjectionElem::Deref
275+
| ProjectionElem::Subtype(_)
275276
| ProjectionElem::Index(_) => {},
276277
}
277278
}

0 commit comments

Comments
 (0)