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 80a4699 commit 386d0a5Copy full SHA for 386d0a5
clippy_utils/src/qualify_min_const_fn.rs
@@ -37,6 +37,7 @@ pub fn is_min_const_fn<'a, 'tcx>(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, msrv:
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