Skip to content

Commit b3535a1

Browse files
committed
Remove opaque type obligation and just register opaque types as they are encountered.
This also registers obligations for the hidden type immediately.
1 parent 46e832e commit b3535a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ pub fn is_min_const_fn<'a, 'tcx>(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, msrv:
3333
| ty::PredicateKind::ConstEvaluatable(..)
3434
| ty::PredicateKind::ConstEquate(..)
3535
| ty::PredicateKind::Trait(..)
36-
| ty::PredicateKind::OpaqueType(..)
3736
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
3837
ty::PredicateKind::ObjectSafe(_) => panic!("object safe predicate on function: {:#?}", predicate),
3938
ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {:#?}", predicate),

0 commit comments

Comments
 (0)