Gracefully fail to resolve associated items instead of delay_span_bug
.
This commit is contained in:
parent
532be942dd
commit
6cfe52c094
11 changed files with 99 additions and 87 deletions
|
@ -1145,7 +1145,7 @@ rustc_queries! {
|
|||
|
||||
query codegen_fulfill_obligation(
|
||||
key: (ty::ParamEnv<'tcx>, ty::PolyTraitRef<'tcx>)
|
||||
) -> Result<&'tcx ImplSource<'tcx, ()>, ErrorGuaranteed> {
|
||||
) -> Result<&'tcx ImplSource<'tcx, ()>, traits::CodegenObligationError> {
|
||||
cache_on_disk_if { true }
|
||||
desc { |tcx|
|
||||
"checking if `{}` fulfills its obligations",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue