Unverified Commit 79b266c3 authored by Will Binns-Smith's avatar Will Binns-Smith Committed by GitHub

Turbopack: Update toolchain to 2025-04-14 (Reapply #78062) (#78167)

This reverts commit dedf6d3a.

Test Plan:

Confirmed that 2025-04-10 crashed and created rustc-ice dumps whenever
rust-analyzer was used, even lightly.

Confirmed that 2025-04-14 no longer produces these files after multiple
restarts and light changes to some turbopack crates.
parent dfaf137b
[toolchain] [toolchain]
channel = "nightly-2025-02-12" channel = "nightly-2025-04-14"
components = ["rustfmt", "clippy", "rust-analyzer"] components = ["rustfmt", "clippy", "rust-analyzer"]
profile = "minimal" profile = "minimal"
...@@ -194,6 +194,7 @@ fn resolve_concurrency( ...@@ -194,6 +194,7 @@ fn resolve_concurrency(
for (ident, references) in dep_tree { for (ident, references) in dep_tree {
for reference in references { for reference in references {
#[allow(clippy::map_entry)] // This doesn't insert into dep_tree, so entry isn't useful
if !dep_tree.contains_key(&reference.identifier) { if !dep_tree.contains_key(&reference.identifier) {
// this is a task that is not in the task list // this is a task that is not in the task list
// so we can't resolve it // so we can't resolve it
......
#![feature(hash_extract_if)]
pub mod map; pub mod map;
pub mod set; pub mod set;
......
#![allow(clippy::needless_return)] // tokio macro-generated code doesn't respect this #![allow(clippy::needless_return)] // tokio macro-generated code doesn't respect this
#![feature(trivial_bounds)] #![feature(trivial_bounds)]
#![feature(hash_extract_if)]
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(iter_advance_by)] #![feature(iter_advance_by)]
#![feature(io_error_more)] #![feature(io_error_more)]
......
...@@ -4,6 +4,15 @@ error: methods taking `self` are not supported with `operation` ...@@ -4,6 +4,15 @@ error: methods taking `self` are not supported with `operation`
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> { 13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^
error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>`
--> tests/function/fail_operation_method_self_type.rs:13:34
|
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
| ^^^^^^^^^^^^^^^^^
|
= note: type of `self` must be `Self` or some type implementing `Receiver`
= help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>`
error[E0277]: the trait bound `fn(...) -> ... {...::arbitrary_self_type_turbo_tasks_function_inline}: IntoTaskFnWithThis<_, _, _>` is not satisfied error[E0277]: the trait bound `fn(...) -> ... {...::arbitrary_self_type_turbo_tasks_function_inline}: IntoTaskFnWithThis<_, _, _>` is not satisfied
--> tests/function/fail_operation_method_self_type.rs:10:1 --> tests/function/fail_operation_method_self_type.rs:10:1
| |
...@@ -22,12 +31,3 @@ note: required by a bound in `NativeFunction::new_method` ...@@ -22,12 +31,3 @@ note: required by a bound in `NativeFunction::new_method`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `NativeFunction::new_method` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `NativeFunction::new_method`
= note: consider using `--verbose` to print the full type name to the console = note: consider using `--verbose` to print the full type name to the console
= note: this error originates in the attribute macro `turbo_tasks::value_impl` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the attribute macro `turbo_tasks::value_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>`
--> tests/function/fail_operation_method_self_type.rs:13:34
|
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
| ^^^^^^^^^^^^^^^^^
|
= note: type of `self` must be `Self` or some type implementing `Receiver`
= help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>`
#![feature(hash_extract_if)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![feature(box_patterns)] #![feature(box_patterns)]
#![feature(int_roundings)] #![feature(int_roundings)]
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#![feature(trivial_bounds)] #![feature(trivial_bounds)]
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(try_trait_v2)] #![feature(try_trait_v2)]
#![feature(hash_extract_if)]
#![deny(unsafe_op_in_unsafe_fn)] #![deny(unsafe_op_in_unsafe_fn)]
#![feature(result_flattening)] #![feature(result_flattening)]
#![feature(error_generic_member_access)] #![feature(error_generic_member_access)]
......
...@@ -112,6 +112,7 @@ impl StyleSheetLike<'_, '_> { ...@@ -112,6 +112,7 @@ impl StyleSheetLike<'_, '_> {
pub struct UnresolvedUrlReferences(pub Vec<(String, ResolvedVc<UrlAssetReference>)>); pub struct UnresolvedUrlReferences(pub Vec<(String, ResolvedVc<UrlAssetReference>)>);
#[turbo_tasks::value(shared, serialization = "none", eq = "manual", cell = "new")] #[turbo_tasks::value(shared, serialization = "none", eq = "manual", cell = "new")]
#[allow(clippy::large_enum_variant)] // This is a turbo-tasks value
pub enum ParseCssResult { pub enum ParseCssResult {
Ok { Ok {
code: ResolvedVc<FileContent>, code: ResolvedVc<FileContent>,
......
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(arbitrary_self_types)] #![feature(arbitrary_self_types)]
#![feature(arbitrary_self_types_pointers)] #![feature(arbitrary_self_types_pointers)]
#![feature(extract_if)]
use std::{iter::once, thread::available_parallelism}; use std::{iter::once, thread::available_parallelism};
......
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