diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-17 19:53:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 19:53:28 -0500 |
| commit | 3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6 (patch) | |
| tree | 89ea41498b0635db0e9534d0bee95f761e62f31f /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | d76ec075ab9a6e41ae4bb146a168065d8baa85da (diff) | |
| parent | d47cb26ddd6574de6c81caf9fdaadef1a108628a (diff) | |
| download | rust-3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6.tar.gz rust-3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6.zip | |
Rollup merge of #127845 - workingjubilee:actually-break-up-big-ass-stack-overflow-fn, r=joboet
unix: break `stack_overflow::install_main_guard` into smaller fn This was one big deeply-indented function for no reason. This made it hard to reason about the boundaries of its safety. Or just, y'know, read. Simplify it by splitting it into platform-specific functions, but which are still asked to keep compiling (a desirable property, since all of these OS use a similar API). This is mostly a whitespace change, so I suggest reviewing it only after setting Files changed -> (the options gear) -> [x] Hide whitespace as that will make it easier to see how the code was actually broken up instead of raw line diffs.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
