Skip to content

Commit

Permalink
subtyping_projections
Browse files Browse the repository at this point in the history
  • Loading branch information
ouz-a committed Oct 2, 2023
1 parent 1a82ca0 commit ea4b388
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 @@ -272,6 +272,7 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B
| ProjectionElem::Downcast(..)
| ProjectionElem::Subslice { .. }
| ProjectionElem::Deref
| ProjectionElem::Subtype(_)
| ProjectionElem::Index(_) => {},
}
}
Expand Down

0 comments on commit ea4b388

Please sign in to comment.