diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-08 18:05:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-08 18:05:31 +0200 |
| commit | 9ea933943524e3b9ad1a652b789a6a0f251ef24d (patch) | |
| tree | a2c6a47eebb06468793f48240d76aa6056ce74e1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 890c6de3104eeaa4e521a4e825f58f61f8146872 (diff) | |
| parent | b08e9c2a60f4dbab4bdaa733727947b3395de329 (diff) | |
| download | rust-9ea933943524e3b9ad1a652b789a6a0f251ef24d.tar.gz rust-9ea933943524e3b9ad1a652b789a6a0f251ef24d.zip | |
Rollup merge of #139501 - compiler-errors:suppress-stack-overflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders). These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^) Fixes https://github.com/rust-lang/rust/issues/139402 r? lcnr
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
