diff options
| author | bors <bors@rust-lang.org> | 2022-11-23 06:48:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-23 06:48:56 +0000 |
| commit | 3f2b2eee8f46f2252d2919d7a57bf3068d7df285 (patch) | |
| tree | 67b05ad47483eb61c39a6f4b5b12862f9991462c /src/tools | |
| parent | 008bc1d587b4f9d7197eb159922dd2080eea9284 (diff) | |
| parent | 42afb70f2fc28c52656f49abf4566d17c09123ef (diff) | |
| download | rust-3f2b2eee8f46f2252d2919d7a57bf3068d7df285.tar.gz rust-3f2b2eee8f46f2252d2919d7a57bf3068d7df285.zip | |
Auto merge of #104758 - Manishearth:rollup-rh1tfum, r=Manishearth
Rollup of 6 pull requests Successful merges: - #103488 (Allow opaque types in trait impl headers and rely on coherence to reject unsound cases) - #104359 (Refactor must_use lint into two parts) - #104612 (Lower return type outside async block creation) - #104621 (Fix --extern library finding errors) - #104647 (enable fuzzy_provenance_casts lint in liballoc and libstd) - #104750 (Bump `fd-lock` in `bootstrap` again) Failed merges: - #104732 (Refactor `ty::ClosureKind` related stuff) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs b/src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs index 65722f142aa..d183e28f667 100644 --- a/src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs +++ b/src/tools/clippy/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< ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {predicate:#?}"), ty::PredicateKind::Subtype(_) => panic!("subtype predicate on function: {predicate:#?}"), ty::PredicateKind::Coerce(_) => panic!("coerce predicate on function: {predicate:#?}"), + ty::PredicateKind::Ambiguous => panic!("ambiguous predicate on function: {predicate:#?}"), } } match predicates.parent { |
