We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5777494 commit bc41b2cCopy full SHA for bc41b2c
clippy_utils/src/qualify_min_const_fn.rs
@@ -33,7 +33,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
33
| ty::Clause::Trait(..)
34
| ty::Clause::ConstArgHasType(..),
35
)
36
- | ty::PredicateKind::WellFormed(_)
+ | ty::PredicateKind::Clause(ty::Clause::WellFormed(_))
37
| ty::PredicateKind::ConstEvaluatable(..)
38
| ty::PredicateKind::ConstEquate(..)
39
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
0 commit comments