Skip to content

Commit

Permalink
move large_stack_frames to suspicious
Browse files Browse the repository at this point in the history
  • Loading branch information
y21 committed Oct 23, 2024
1 parent f2f0175 commit 0ef1377
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/large_stack_frames.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.72.0"]
pub LARGE_STACK_FRAMES,
nursery,
suspicious,
"checks for functions that allocate a lot of stack space"
}

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/crashes/ice-5389.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::explicit_counter_loop)]
#![allow(clippy::explicit_counter_loop, clippy::large_stack_frames)]

fn main() {
let v = vec![1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/large_stack_arrays.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@aux-build:proc_macros.rs
#![warn(clippy::large_stack_arrays)]
#![allow(clippy::large_enum_variant)]
#![allow(clippy::large_enum_variant, clippy::large_stack_frames)]

extern crate proc_macros;

Expand Down

0 comments on commit 0ef1377

Please sign in to comment.