diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-12 22:04:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-12 22:04:34 +0200 |
| commit | 5d6aeb9799c4e459807f36f9acfdfe56016c87be (patch) | |
| tree | 46a7cc54d2c932386df9d907b2d60373de242b01 /compiler/rustc_interface/src/errors.rs | |
| parent | c47937d32cb877003098e498490911e8070692b9 (diff) | |
| parent | b369c8ecbde710ab23977137c71b3c974a94d445 (diff) | |
| download | rust-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/errors.rs')
0 files changed, 0 insertions, 0 deletions
