about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-12 16:35:30 +0000
committerbors <bors@rust-lang.org>2022-09-12 16:35:30 +0000
commitcdf26de6b5cd0025b941433e723dbdd711b2d4b2 (patch)
treed74da3cf4fe8aa3b01b07820a51dd94a4bef819f /library/std/src/sys/unix/stack_overflow.rs
parent5e0663e25ca956380002c0703c59e8e7323add2d (diff)
parent6f41a44c3e587354061ff3081470b7b214395196 (diff)
downloadrust-cdf26de6b5cd0025b941433e723dbdd711b2d4b2.tar.gz
rust-cdf26de6b5cd0025b941433e723dbdd711b2d4b2.zip
Auto merge of #9466 - lukaslueg:issue9460, r=dswij
Don't lint `large_stack_array` inside static items

We now check if the linted `Expr` is inside an `ItemKind::Static`, which can't take the suggested `Box<[...]`. I _think_ this is the correct fix for #9460

I removed `if_chain` while I was at it.

changelog: Don't lint `large_stack_array` inside static items
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions