Skip to content

Commit bc41b2c

Browse files
Move WF goal to clause
1 parent 5777494 commit bc41b2c

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
@@ -33,7 +33,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
3333
| ty::Clause::Trait(..)
3434
| ty::Clause::ConstArgHasType(..),
3535
)
36-
| ty::PredicateKind::WellFormed(_)
36+
| ty::PredicateKind::Clause(ty::Clause::WellFormed(_))
3737
| ty::PredicateKind::ConstEvaluatable(..)
3838
| ty::PredicateKind::ConstEquate(..)
3939
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,

0 commit comments

Comments
 (0)