diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-03-12 10:19:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 10:19:32 -0700 |
| commit | 84a2b689aca2485fe9abf21e4d2bc4c5eb15a246 (patch) | |
| tree | 7e03356527a5be7c8aa538310f84e28bee5185f0 /compiler/rustc_traits | |
| parent | 74c3794ece4c0317b8c50105a119724bf219b668 (diff) | |
| parent | adbcb910f0fc63b9a4bf6daa89c1a534a08b1f02 (diff) | |
| download | rust-84a2b689aca2485fe9abf21e4d2bc4c5eb15a246.tar.gz rust-84a2b689aca2485fe9abf21e4d2bc4c5eb15a246.zip | |
Rollup merge of #138394 - lcnr:yeet-variant, r=compiler-errors
remove unnecessary variant
Diffstat (limited to 'compiler/rustc_traits')
| -rw-r--r-- | compiler/rustc_traits/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_traits/src/codegen.rs b/compiler/rustc_traits/src/codegen.rs index cc329ca3328..4a889abfc28 100644 --- a/compiler/rustc_traits/src/codegen.rs +++ b/compiler/rustc_traits/src/codegen.rs @@ -70,7 +70,7 @@ pub(crate) fn codegen_select_candidate<'tcx>( infcx.err_ctxt().report_overflow_obligation_cycle(&cycle); } } - return Err(CodegenObligationError::FulfillmentError); + return Err(CodegenObligationError::Unimplemented); } let impl_source = infcx.resolve_vars_if_possible(impl_source); |
