Add Clause::ConstArgHasType
variant
This commit is contained in:
parent
9554045ae4
commit
8a66a6816b
@ -30,7 +30,8 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
|
|||||||
ty::Clause::RegionOutlives(_)
|
ty::Clause::RegionOutlives(_)
|
||||||
| ty::Clause::TypeOutlives(_)
|
| ty::Clause::TypeOutlives(_)
|
||||||
| ty::Clause::Projection(_)
|
| ty::Clause::Projection(_)
|
||||||
| ty::Clause::Trait(..),
|
| ty::Clause::Trait(..)
|
||||||
|
| ty::Clause::ConstArgHasType(..),
|
||||||
)
|
)
|
||||||
| ty::PredicateKind::WellFormed(_)
|
| ty::PredicateKind::WellFormed(_)
|
||||||
| ty::PredicateKind::ConstEvaluatable(..)
|
| ty::PredicateKind::ConstEvaluatable(..)
|
||||||
|
Loading…
Reference in New Issue
Block a user