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.
AliasEq
PredicateKind
1 parent 821199c commit cd3bcbbCopy full SHA for cd3bcbb
clippy_utils/src/qualify_min_const_fn.rs
@@ -36,6 +36,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: &Msrv)
36
| ty::PredicateKind::ConstEvaluatable(..)
37
| ty::PredicateKind::ConstEquate(..)
38
| ty::PredicateKind::TypeWellFormedFromEnv(..) => continue,
39
+ ty::PredicateKind::AliasEq(..) => panic!("alias eq predicate on function: {predicate:#?}"),
40
ty::PredicateKind::ObjectSafe(_) => panic!("object safe predicate on function: {predicate:#?}"),
41
ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {predicate:#?}"),
42
ty::PredicateKind::Subtype(_) => panic!("subtype predicate on function: {predicate:#?}"),
0 commit comments