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 bc41b2c commit f28ec85Copy full SHA for f28ec85
clippy_utils/src/qualify_min_const_fn.rs
@@ -34,7 +34,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
34
| ty::Clause::ConstArgHasType(..),
35
)
36
| ty::PredicateKind::Clause(ty::Clause::WellFormed(_))
37
- | ty::PredicateKind::ConstEvaluatable(..)
+ | ty::PredicateKind::Clause(ty::Clause::ConstEvaluatable(..))
38
| ty::PredicateKind::ConstEquate(..)
39
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
40
ty::PredicateKind::AliasRelate(..) => panic!("alias relate predicate on function: {predicate:#?}"),
0 commit comments