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 46e832e commit b3535a1Copy full SHA for b3535a1
clippy_utils/src/qualify_min_const_fn.rs
@@ -33,7 +33,6 @@ 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