diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-03-15 17:51:32 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-15 17:51:32 +0530 |
| commit | 8c5ea6188fe54e0cf0879ccc6b1c5665bc35936d (patch) | |
| tree | 33f0bff641df2b21e31c53f1055f27e2e0bae0ca /compiler/rustc_interface/src/errors.rs | |
| parent | d133c36fa982676e092b876ba65908d889877bec (diff) | |
| parent | 00dc3b24b7cf3db69ce4b3648e1fb9d1cd539c67 (diff) | |
| download | rust-8c5ea6188fe54e0cf0879ccc6b1c5665bc35936d.tar.gz rust-8c5ea6188fe54e0cf0879ccc6b1c5665bc35936d.zip | |
Rollup merge of #109136 - compiler-errors:simplify-proc-macro-checking, r=oli-obk
Simplify proc macro signature validity check Use an `ObligationCtxt` instead of `normalize_erasing_regions` + `DeepRejectCtxt`. This should both give us a more accurate error message, and also avoid issues like not-well-formed proc macro signatures. Also, let's fall back on the regular type mismatch error reporting for making these diagnostic notes, instead of hard-coding a bunch of specific diagnostics. Fixes #109129
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
