From d3210a2bf207a935d52aba5a64fa4172461cc264 Mon Sep 17 00:00:00 2001 From: Justin Ridgewell Date: Thu, 17 Aug 2023 12:08:58 -0400 Subject: [PATCH] Update rust toolchain (vercel/turbo#5739) The current toolchain is very buggy. Closes WEB-1405 --- crates/turbo-tasks-macros/src/lib.rs | 1 - crates/turbo-tasks-memory/src/lib.rs | 1 - crates/turbopack-cli/src/dev/mod.rs | 1 - crates/turbopack-cli/src/lib.rs | 1 - crates/turbopack-ecmascript/src/lib.rs | 1 - crates/turbopack-node/src/lib.rs | 1 - 6 files changed, 6 deletions(-) diff --git a/crates/turbo-tasks-macros/src/lib.rs b/crates/turbo-tasks-macros/src/lib.rs index a2c9ccc702c63..2dfafc6864137 100644 --- a/crates/turbo-tasks-macros/src/lib.rs +++ b/crates/turbo-tasks-macros/src/lib.rs @@ -1,7 +1,6 @@ #![feature(proc_macro_diagnostic)] #![feature(allow_internal_unstable)] #![feature(box_patterns)] -#![allow(clippy::too_many_arguments)] mod derive; mod func; diff --git a/crates/turbo-tasks-memory/src/lib.rs b/crates/turbo-tasks-memory/src/lib.rs index 7f71d8b7114d5..171ce94d53de3 100644 --- a/crates/turbo-tasks-memory/src/lib.rs +++ b/crates/turbo-tasks-memory/src/lib.rs @@ -5,7 +5,6 @@ #![feature(box_patterns)] #![feature(int_roundings)] #![deny(unsafe_op_in_unsafe_fn)] -#![allow(clippy::too_many_arguments)] mod cell; mod concurrent_priority_queue; diff --git a/crates/turbopack-cli/src/dev/mod.rs b/crates/turbopack-cli/src/dev/mod.rs index 893583fc56c79..484dad1ad3cfc 100644 --- a/crates/turbopack-cli/src/dev/mod.rs +++ b/crates/turbopack-cli/src/dev/mod.rs @@ -228,7 +228,6 @@ impl TurbopackDevServerBuilder { } } -#[allow(clippy::too_many_arguments)] #[turbo_tasks::function] async fn source( root_dir: String, diff --git a/crates/turbopack-cli/src/lib.rs b/crates/turbopack-cli/src/lib.rs index f81dc0a6b71d6..a6750ecba4a2b 100644 --- a/crates/turbopack-cli/src/lib.rs +++ b/crates/turbopack-cli/src/lib.rs @@ -2,7 +2,6 @@ #![feature(min_specialization)] #![feature(arbitrary_self_types)] #![feature(async_fn_in_trait)] -#![allow(clippy::too_many_arguments)] pub mod arguments; pub mod build; diff --git a/crates/turbopack-ecmascript/src/lib.rs b/crates/turbopack-ecmascript/src/lib.rs index 63aee962c2530..7e9f51aca7d37 100644 --- a/crates/turbopack-ecmascript/src/lib.rs +++ b/crates/turbopack-ecmascript/src/lib.rs @@ -6,7 +6,6 @@ #![feature(async_fn_in_trait)] #![feature(arbitrary_self_types)] #![recursion_limit = "256"] -#![allow(clippy::too_many_arguments)] pub mod analyzer; pub mod chunk; diff --git a/crates/turbopack-node/src/lib.rs b/crates/turbopack-node/src/lib.rs index 0caef15741ac7..ea42d53e670b6 100644 --- a/crates/turbopack-node/src/lib.rs +++ b/crates/turbopack-node/src/lib.rs @@ -3,7 +3,6 @@ #![feature(lint_reasons)] #![feature(arbitrary_self_types)] #![feature(async_fn_in_trait)] -#![allow(clippy::too_many_arguments)] use std::{collections::HashMap, iter::once, thread::available_parallelism};