Files
rust/compiler
bors 0966f3202d Auto merge of #112673 - scottmcm:enough-stack, r=compiler-errors
Add an `ensure_sufficient_stack` to `LateContextAndPass::visit_expr`

This is [apparently](https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.60-alt.60-only.20failures.3F/near/365396801) where it's busting stack in #112238, and the comments for `ensure_sufficient_stack` say that

> E.g. almost any call to visit_expr or equivalent can benefit from this.

So this seems like a reasonable change.

Hopefully it'll keep this from happening in other places too -- https://github.com/rust-lang/rust/pull/111818#issuecomment-1585023914 hit something similar when updating a lint (bors failure is https://github.com/rust-lang-ci/rust/actions/runs/5199591324/jobs/9377196369), so with any luck this will keep small permutations of things from tripping over the limit.
2023-06-16 05:48:08 +00:00
..
2023-05-02 10:45:16 -07:00
2023-06-05 16:01:09 +02:00
2023-06-03 09:44:30 +08:00
2023-06-12 11:58:40 +02:00
2023-05-26 15:18:54 -04:00
2023-04-10 17:24:23 +09:00
2023-04-10 22:02:52 +02:00
2023-05-26 18:55:02 +01:00