Add Clause::ConstArgHasType
variant
This commit is contained in:
parent
9554045ae4
commit
8a66a6816b
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
|
|||
ty::Clause::RegionOutlives(_)
|
||||
| ty::Clause::TypeOutlives(_)
|
||||
| ty::Clause::Projection(_)
|
||||
| ty::Clause::Trait(..),
|
||||
| ty::Clause::Trait(..)
|
||||
| ty::Clause::ConstArgHasType(..),
|
||||
)
|
||||
| ty::PredicateKind::WellFormed(_)
|
||||
| ty::PredicateKind::ConstEvaluatable(..)
|
||||
|
|
Loading…
Add table
Reference in a new issue