diff options
| author | lcnr <rust@lcnr.de> | 2025-09-24 13:04:36 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-09-24 13:08:25 +0200 |
| commit | 2886ca496a8adff7424da8b19eeaffa9d392210c (patch) | |
| tree | f021fabaadc6e6361d8d66f044e616bce0119dcb /compiler/rustc_trait_selection | |
| parent | 32d24f9efa81a1c467da21c3ae2d93a6b00a9f5b (diff) | |
| download | rust-2886ca496a8adff7424da8b19eeaffa9d392210c.tar.gz rust-2886ca496a8adff7424da8b19eeaffa9d392210c.zip | |
imrpove type_op failure ICE
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:?}" + ))) } })?; |
