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.
2 parents b33afd6 + 386d0a5 commit 91d2ce3Copy full SHA for 91d2ce3
clippy_utils/src/qualify_min_const_fn.rs
@@ -37,6 +37,7 @@ pub fn is_min_const_fn<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, msrv: Option<
37
ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {predicate:#?}"),
38
ty::PredicateKind::Subtype(_) => panic!("subtype predicate on function: {predicate:#?}"),
39
ty::PredicateKind::Coerce(_) => panic!("coerce predicate on function: {predicate:#?}"),
40
+ ty::PredicateKind::Ambiguous => panic!("ambiguous predicate on function: {predicate:#?}"),
41
}
42
43
match predicates.parent {
0 commit comments