We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7da8a6 commit 46e832eCopy full SHA for 46e832e
clippy_utils/src/qualify_min_const_fn.rs
@@ -33,6 +33,7 @@ pub fn is_min_const_fn<'a, 'tcx>(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, msrv:
33
| ty::PredicateKind::ConstEvaluatable(..)
34
| ty::PredicateKind::ConstEquate(..)
35
| ty::PredicateKind::Trait(..)
36
+ | ty::PredicateKind::OpaqueType(..)
37
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
38
ty::PredicateKind::ObjectSafe(_) => panic!("object safe predicate on function: {:#?}", predicate),
39
ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {:#?}", predicate),
0 commit comments