diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-24 23:33:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-24 23:33:29 +0200 |
| commit | 57ee169ff281fcdfd02384ef0760f4ce8162478f (patch) | |
| tree | d76007a9ba4ef7f42b9cc52c18ba3719cce1598a /compiler/rustc_trait_selection | |
| parent | d10d6bfb02de77c472de7906e58b77e94d35c058 (diff) | |
| parent | 2886ca496a8adff7424da8b19eeaffa9d392210c (diff) | |
| download | rust-57ee169ff281fcdfd02384ef0760f4ce8162478f.tar.gz rust-57ee169ff281fcdfd02384ef0760f4ce8162478f.zip | |
Rollup merge of #146971 - lcnr:fix-writeback, r=BoxyUwU
fix ICE in writeback due to bound regions fixes rust-lang/rust#117808 r? `@BoxyUwU`
Diffstat (limited to 'compiler/rustc_trait_selection')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs b/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs index 6ce68507d65..a96cb738b81 100644 --- a/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs +++ b/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs @@ -100,9 +100,9 @@ where } else if let Err(guar) = infcx.tcx.check_potentially_region_dependent_goals(root_def_id) { Err(guar) } else { - Err(infcx - .dcx() - .delayed_bug(format!("errors selecting obligation during MIR typeck: {errors:?}"))) + Err(infcx.dcx().delayed_bug(format!( + "errors selecting obligation during MIR typeck: {name} {root_def_id:?} {errors:?}" + ))) } })?; |
