Unverified Commit 8def0c84 authored by Justin Ridgewell's avatar Justin Ridgewell Committed by GitHub

Update rust toolchain (#54130)

The current toolchain is very buggy.

Closes WEB-1400
parent 3fadba5a
...@@ -32,4 +32,8 @@ rustflags = [ ...@@ -32,4 +32,8 @@ rustflags = [
"-Zshare-generics=y", "-Zshare-generics=y",
"-Csymbol-mangling-version=v0", "-Csymbol-mangling-version=v0",
"-Aclippy::too_many_arguments", "-Aclippy::too_many_arguments",
# Clippy's needless mut lint is buggy: https://github.com/rust-lang/rust-clippy/issues/11299
"-Aclippy::needless_pass_by_ref_mut",
# Clippy's partial_eq lint is buggy: https://github.com/rust-lang/rust-clippy/issues/11178
"-Aclippy::incorrect_partial_ord_impl_on_ord_type",
] ]
...@@ -427,7 +427,6 @@ fn next_edge_page_transition( ...@@ -427,7 +427,6 @@ fn next_edge_page_transition(
) )
} }
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function] #[turbo_tasks::function]
fn app_context( fn app_context(
project_path: Vc<FileSystemPath>, project_path: Vc<FileSystemPath>,
...@@ -768,7 +767,6 @@ async fn create_global_metadata_source( ...@@ -768,7 +767,6 @@ async fn create_global_metadata_source(
Ok(Vc::upcast(CombinedContentSource { sources }.cell())) Ok(Vc::upcast(CombinedContentSource { sources }.cell()))
} }
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function] #[turbo_tasks::function]
async fn create_app_page_source_for_route( async fn create_app_page_source_for_route(
pathname: String, pathname: String,
...@@ -819,7 +817,6 @@ async fn create_app_page_source_for_route( ...@@ -819,7 +817,6 @@ async fn create_app_page_source_for_route(
Ok(source.issue_file_path(app_dir, format!("Next.js App Page Route {pathname}"))) Ok(source.issue_file_path(app_dir, format!("Next.js App Page Route {pathname}")))
} }
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function] #[turbo_tasks::function]
async fn create_app_not_found_page_source( async fn create_app_not_found_page_source(
loader_tree: Vc<LoaderTree>, loader_tree: Vc<LoaderTree>,
...@@ -865,7 +862,6 @@ async fn create_app_not_found_page_source( ...@@ -865,7 +862,6 @@ async fn create_app_not_found_page_source(
Ok(source.issue_file_path(app_dir, "Next.js App Page Route /404".to_string())) Ok(source.issue_file_path(app_dir, "Next.js App Page Route /404".to_string()))
} }
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function] #[turbo_tasks::function]
async fn create_app_route_source_for_route( async fn create_app_route_source_for_route(
pathname: String, pathname: String,
......
...@@ -294,7 +294,6 @@ async fn server_env( ...@@ -294,7 +294,6 @@ async fn server_env(
Ok(Vc::upcast(CustomProcessEnv::new(env, Vc::cell(map)))) Ok(Vc::upcast(CustomProcessEnv::new(env, Vc::cell(map))))
} }
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function] #[turbo_tasks::function]
async fn source( async fn source(
root_dir: String, root_dir: String,
......
nightly-2023-07-03 nightly-2023-07-21
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment