Skip to content

Commit 8a66a68

Browse files
committed
Add Clause::ConstArgHasType variant
1 parent 9554045 commit 8a66a68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
3030
ty::Clause::RegionOutlives(_)
3131
| ty::Clause::TypeOutlives(_)
3232
| ty::Clause::Projection(_)
33-
| ty::Clause::Trait(..),
33+
| ty::Clause::Trait(..)
34+
| ty::Clause::ConstArgHasType(..),
3435
)
3536
| ty::PredicateKind::WellFormed(_)
3637
| ty::PredicateKind::ConstEvaluatable(..)

0 commit comments

Comments
 (0)