|
| 1 | +error: function generated by this macro may allocate a lot of stack space |
| 2 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:21:1 |
| 3 | + | |
| 4 | +LL | mac!(something); |
| 5 | + | ^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: this function has a stack frame size of 1000092 bytes |
| 8 | + = note: 1000092 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 9 | + = note: allocating large amounts of stack space can overflow the stack and cause the program to abort |
| 10 | + = note: `-D clippy::large-stack-frames` implied by `-D warnings` |
| 11 | + = help: to override `-D warnings` add `#[allow(clippy::large_stack_frames)]` |
| 12 | + |
| 13 | +error: function generated by this macro may allocate a lot of stack space |
| 14 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 15 | + | |
| 16 | +LL | #[derive(Deserialize, Serialize)] |
| 17 | + | ^^^^^^^^^^^ |
| 18 | + | |
| 19 | + = note: this function has a stack frame size of 57 bytes |
| 20 | + = note: 57 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 21 | + |
| 22 | +error: function generated by this macro may allocate a lot of stack space |
| 23 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 24 | + | |
| 25 | +LL | #[derive(Deserialize, Serialize)] |
| 26 | + | ^^^^^^^^^^^ |
| 27 | + | |
| 28 | + = note: this function has a stack frame size of 10 bytes |
| 29 | + = note: 10 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 30 | + |
| 31 | +error: function generated by this macro may allocate a lot of stack space |
| 32 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 33 | + | |
| 34 | +LL | #[derive(Deserialize, Serialize)] |
| 35 | + | ^^^^^^^^^^^ |
| 36 | + | |
| 37 | + = note: this function has a stack frame size of 19 bytes |
| 38 | + = note: 19 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 39 | + |
| 40 | +error: function generated by this macro may allocate a lot of stack space |
| 41 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 42 | + | |
| 43 | +LL | #[derive(Deserialize, Serialize)] |
| 44 | + | ^^^^^^^^^^^ |
| 45 | + | |
| 46 | + = note: this function has a stack frame size of 35 bytes |
| 47 | + = note: 35 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 48 | + |
| 49 | +error: function generated by this macro may allocate a lot of stack space |
| 50 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 51 | + | |
| 52 | +LL | #[derive(Deserialize, Serialize)] |
| 53 | + | ^^^^^^^^^^^ |
| 54 | + | |
| 55 | + = note: this function has a stack frame size of 57 bytes |
| 56 | + = note: 57 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 57 | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` |
| 58 | + |
| 59 | +error: function generated by this macro may allocate a lot of stack space |
| 60 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 61 | + | |
| 62 | +LL | #[derive(Deserialize, Serialize)] |
| 63 | + | ^^^^^^^^^^^ |
| 64 | + | |
| 65 | + = note: this function has a stack frame size of 3137 bytes |
| 66 | + = note: 3137 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 67 | + |
| 68 | +error: function generated by this macro may allocate a lot of stack space |
| 69 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:10 |
| 70 | + | |
| 71 | +LL | #[derive(Deserialize, Serialize)] |
| 72 | + | ^^^^^^^^^^^ |
| 73 | + | |
| 74 | + = note: this function has a stack frame size of 4798 bytes |
| 75 | + = note: 4798 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 76 | + |
| 77 | +error: function generated by this macro may allocate a lot of stack space |
| 78 | + --> tests/ui-toml/large_stack_frames_for_macro_generated_fns/large_stack_frames.rs:24:23 |
| 79 | + | |
| 80 | +LL | #[derive(Deserialize, Serialize)] |
| 81 | + | ^^^^^^^^^ |
| 82 | + | |
| 83 | + = note: this function has a stack frame size of 170 bytes |
| 84 | + = note: 170 bytes is larger than Clippy's configured `stack-size-threshold` of 0 |
| 85 | + |
| 86 | +error: aborting due to 9 previous errors |
| 87 | + |
0 commit comments