diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-23 06:45:34 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 06:45:34 +0200 | 
| commit | 82060368e638d07f5ea5cf4f04c0e37edb829e28 (patch) | |
| tree | 5003fd53f3f27b40906f560650f4e9dcf32116fb /compiler/rustc_pattern_analysis | |
| parent | 9f5cbfb455ee0905b7984fe13d50a8bad76f0247 (diff) | |
| parent | 01d19d7be9b1fdcaa93eef4317c46f7330093061 (diff) | |
| download | rust-82060368e638d07f5ea5cf4f04c0e37edb829e28.tar.gz rust-82060368e638d07f5ea5cf4f04c0e37edb829e28.zip  | |
Rollup merge of #130712 - compiler-errors:const-eval-error-reporting, r=BoxyUwU
Don't call `ty::Const::normalize` in error reporting We do this to ensure that trait refs with unevaluated consts have those consts simplified to their evaluated forms. Instead, use `try_normalize_erasing_regions`. **NOTE:** This has the side-effect of erasing regions from all of our trait refs. If this is too much to review or you think it's too opinionated of a diagnostics change, then I could split out the effective change (i.e. erasing regions from this impl suggestion) into another PR and have someone else review it.
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions
