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 = [
"-Zshare-generics=y",
"-Csymbol-mangling-version=v0",
"-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(
)
}
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function]
fn app_context(
project_path: Vc<FileSystemPath>,
......@@ -768,7 +767,6 @@ async fn create_global_metadata_source(
Ok(Vc::upcast(CombinedContentSource { sources }.cell()))
}
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function]
async fn create_app_page_source_for_route(
pathname: String,
......@@ -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}")))
}
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function]
async fn create_app_not_found_page_source(
loader_tree: Vc<LoaderTree>,
......@@ -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()))
}
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function]
async fn create_app_route_source_for_route(
pathname: String,
......
......@@ -294,7 +294,6 @@ async fn server_env(
Ok(Vc::upcast(CustomProcessEnv::new(env, Vc::cell(map))))
}
#[allow(clippy::too_many_arguments)]
#[turbo_tasks::function]
async fn source(
root_dir: String,
......
nightly-2023-07-03
\ No newline at end of file
nightly-2023-07-21
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