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