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