Skip to content

Commit f28ec85

Browse files
Move ConstEvaluatable to Clause
1 parent bc41b2c commit f28ec85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
3434
| ty::Clause::ConstArgHasType(..),
3535
)
3636
| ty::PredicateKind::Clause(ty::Clause::WellFormed(_))
37-
| ty::PredicateKind::ConstEvaluatable(..)
37+
| ty::PredicateKind::Clause(ty::Clause::ConstEvaluatable(..))
3838
| ty::PredicateKind::ConstEquate(..)
3939
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
4040
ty::PredicateKind::AliasRelate(..) => panic!("alias relate predicate on function: {predicate:#?}"),

0 commit comments

Comments
 (0)