Skip to content

Commit 0ef1377

Browse files
committed
move large_stack_frames to suspicious
1 parent f2f0175 commit 0ef1377

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clippy_lints/src/large_stack_frames.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ declare_clippy_lint! {
7777
/// ```
7878
#[clippy::version = "1.72.0"]
7979
pub LARGE_STACK_FRAMES,
80-
nursery,
80+
suspicious,
8181
"checks for functions that allocate a lot of stack space"
8282
}
8383

tests/ui/crashes/ice-5389.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::explicit_counter_loop)]
1+
#![allow(clippy::explicit_counter_loop, clippy::large_stack_frames)]
22

33
fn main() {
44
let v = vec![1, 2, 3];

tests/ui/large_stack_arrays.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@aux-build:proc_macros.rs
22
#![warn(clippy::large_stack_arrays)]
3-
#![allow(clippy::large_enum_variant)]
3+
#![allow(clippy::large_enum_variant, clippy::large_stack_frames)]
44

55
extern crate proc_macros;
66

0 commit comments

Comments
 (0)