]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_data_structures/src/stack.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / compiler / rustc_data_structures / src / stack.rs
index a4964b7aa0cc8c95f72f9f90807beb89da952d98..ba22c7f9b979966627712c6cab0b2475e613f90f 100644 (file)
@@ -5,6 +5,7 @@ const RED_ZONE: usize = 100 * 1024; // 100k
 
 // Only the first stack that is pushed, grows exponentially (2^n * STACK_PER_RECURSION) from then
 // on. This flag has performance relevant characteristics. Don't set it too high.
+#[allow(clippy::identity_op)]
 const STACK_PER_RECURSION: usize = 1 * 1024 * 1024; // 1MB
 
 /// Grows the stack on demand to prevent stack overflow. Call this in strategic locations