about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-12 22:04:34 +0200
committerGitHub <noreply@github.com>2023-04-12 22:04:34 +0200
commit5d6aeb9799c4e459807f36f9acfdfe56016c87be (patch)
tree46a7cc54d2c932386df9d907b2d60373de242b01 /compiler/rustc_interface/src
parentc47937d32cb877003098e498490911e8070692b9 (diff)
parentb369c8ecbde710ab23977137c71b3c974a94d445 (diff)
downloadrust-5d6aeb9799c4e459807f36f9acfdfe56016c87be.tar.gz
rust-5d6aeb9799c4e459807f36f9acfdfe56016c87be.zip
Rollup merge of #110133 - compiler-errors:issue-110131, r=petrochenkov
Do not use ImplDerivedObligationCause for inherent impl method error reporting

We were constructing a `TraitRef` out of impl substs, for an *inherent* impl that has no corresponding trait. Instead of doing that, let's construct a meaningful obligation cause code, and instead adjust the error reporting machinery to handle that correctly.

Fixes #110131
cc #106702, which introduced this regression
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions