about summary refs log tree commit diff
path: root/tests/ui-toml/large_stack_frames/large_stack_frames.stderr
blob: c23fac1456469fcedfed6a85a1b02e4467365119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: this function allocates a large amount of stack space
  --> tests/ui-toml/large_stack_frames/large_stack_frames.rs:12:1
   |
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)]`

error: aborting due to 1 previous error