2023-09-25 09:28:58 +00:00
|
|
|
error: this function allocates a large amount of stack space
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui-toml/large_stack_frames/large_stack_frames.rs:12:1
|
2023-09-25 09:28:58 +00:00
|
|
|
|
|
|
|
|
LL | / fn f2() {
|
|
|
|
LL | |
|
|
|
|
LL | | let _x = create_array::<1001>();
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: allocating large amounts of stack space can overflow the stack
|
|
|
|
= note: `-D clippy::large-stack-frames` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::large_stack_frames)]`
|
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-25 09:28:58 +00:00
|
|
|
|