bors cdf26de6b5 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
2022-09-12 16:35:30 +00:00
..
2022-09-02 13:03:11 -05:00
2022-06-16 18:00:32 +04:00
2022-06-16 18:00:32 +04:00
2022-06-16 15:51:12 +03:00
2022-08-31 15:24:40 +02:00
2022-06-16 18:00:32 +04:00
2022-06-16 15:51:12 +03:00
2022-06-16 15:51:12 +03:00
2022-06-16 15:51:12 +03:00
2022-06-16 15:51:12 +03:00
2022-06-16 18:00:32 +04:00
2022-06-16 15:51:12 +03:00
2022-06-16 15:51:12 +03:00
2022-06-16 15:51:12 +03:00