diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-03-29 14:07:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 14:07:29 +0530 |
commit | 09e937744ad6e87e751fe874bd33e18e3f73c3f6 (patch) | |
tree | d66516a3cc4847631464dd32e26218176511abda /tests/rustdoc-js-std/parser-errors.js | |
parent | a3eb2f0f222d628440975b58589fc75994403a97 (diff) | |
parent | ef5f773bffdc2fb28bc833fa6132cbdade1dc549 (diff) | |
download | rust-09e937744ad6e87e751fe874bd33e18e3f73c3f6.tar.gz |
Rollup merge of #109683 - compiler-errors:self-ty-overflow, r=lcnr
Check for overflow in `assemble_candidates_after_normalizing_self_ty`
Prevents a stack overflow (:warning: :exclamation:) in the new solver when we have param-env candidates that look like: `T: Trait<Assoc = <T as Trait>::Assoc>`
The current error message looks bad, but that's because we don't distinguish overflow and other ambiguity errors. I'll break that out into a separate PR since the fix may be controversial.
r? `@lcnr`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions