Unverified Commit 373abe4d authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

Turbopack: Update trybuild test dependency from 1.0.104 to 1.0.116 (#89986)

This fixes a bug where these tests could fail if your terminal was too wide: https://github.com/dtolnay/trybuild/pull/325
parent 40b92435
This diff is collapsed.
...@@ -10,7 +10,7 @@ anyhow = { workspace = true } ...@@ -10,7 +10,7 @@ anyhow = { workspace = true }
bincode = { workspace = true } bincode = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
trybuild = { version = "1.0.104" } trybuild = { version = "1.0.116" }
turbo-tasks = { workspace = true } turbo-tasks = { workspace = true }
turbo-tasks-testing = { workspace = true } turbo-tasks-testing = { workspace = true }
turbo-tasks-backend = { workspace = true } turbo-tasks-backend = { workspace = true }
......
...@@ -14,19 +14,19 @@ error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>` ...@@ -14,19 +14,19 @@ error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>`
= 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>` = 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(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}: turbo_tasks::task::function::IntoTaskFnWithThis<_, _, _>` is not satisfied error[E0277]: the trait bound `fn(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}: turbo_tasks::task::function::IntoTaskFnWithThis<_, _, _>` is not satisfied
--> tests/function/fail_operation_method_self_type.rs:11:1 --> tests/function/fail_operation_method_self_type.rs:11:1
| |
11 | #[turbo_tasks::value_impl] 11 | #[turbo_tasks::value_impl]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
| |
= help: the trait `turbo_tasks::task::function::TaskFnInputFunctionWithThis<_, _, _>` is not implemented for fn item `fn(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}` = help: the trait `turbo_tasks::task::function::TaskFnInputFunctionWithThis<_, _, _>` is not implemented for fn item `fn(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}`
= note: required for `fn(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}` to implement `turbo_tasks::task::function::IntoTaskFnWithThis<_, _, _>` = note: required for `fn(OperationVc<Foobar>) -> Vc<()> {Foobar::arbitrary_self_type_turbo_tasks_function_inline}` to implement `turbo_tasks::task::function::IntoTaskFnWithThis<_, _, _>`
note: required by a bound in `turbo_tasks::macro_helpers::NativeFunction::new_method` note: required by a bound in `turbo_tasks::macro_helpers::NativeFunction::new_method`
--> $WORKSPACE/turbopack/crates/turbo-tasks/src/native_function.rs --> $WORKSPACE/turbopack/crates/turbo-tasks/src/native_function.rs
| |
| pub fn new_method<Mode, This, Inputs, I>( | pub fn new_method<Mode, This, Inputs, I>(
| ---------- required by a bound in this associated function | ---------- required by a bound in this associated function
... ...
| I: IntoTaskFnWithThis<Mode, This, Inputs>, | I: IntoTaskFnWithThis<Mode, This, Inputs>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `NativeFunction::new_method` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `NativeFunction::new_method`
= 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[E0277]: the trait bound `Vc<i32>: NonLocalValue` is not satisfied error[E0277]: the trait bound `Vc<i32>: NonLocalValue` is not satisfied
--> tests/function/fail_operation_vc_arg.rs:8:26 --> tests/function/fail_operation_vc_arg.rs:8:26
| |
8 | async fn multiply(value: Vc<i32>, coefficient: ResolvedVc<i32>) -> Result<Vc<i32>> { 8 | async fn multiply(value: Vc<i32>, coefficient: ResolvedVc<i32>) -> Result<Vc<i32>> {
| ^^^^^^^ the trait `NonLocalValue` is not implemented for `Vc<i32>` | ^^^^^^^ the trait `NonLocalValue` is not implemented for `Vc<i32>`
| |
= help: the following other types implement trait `NonLocalValue`: = help: the following other types implement trait `NonLocalValue`:
&T &T
&mut T &mut T
() ()
(A, Z, Y, X, W, V, U, T) (A, Z, Y, X, W, V, U, T)
(B, A, Z, Y, X, W, V, U, T) (B, A, Z, Y, X, W, V, U, T)
(C, B, A, Z, Y, X, W, V, U, T) (C, B, A, Z, Y, X, W, V, U, T)
(D, C, B, A, Z, Y, X, W, V, U, T) (D, C, B, A, Z, Y, X, W, V, U, T)
(E, D, C, B, A, Z, Y, X, W, V, U, T) (E, D, C, B, A, Z, Y, X, W, V, U, T)
and $N others and $N others
note: required by a bound in `turbo_tasks::macro_helpers::assert_argument_is_non_local_value` note: required by a bound in `turbo_tasks::macro_helpers::assert_argument_is_non_local_value`
--> $WORKSPACE/turbopack/crates/turbo-tasks/src/macro_helpers.rs --> $WORKSPACE/turbopack/crates/turbo-tasks/src/macro_helpers.rs
| |
| pub fn assert_argument_is_non_local_value<Argument: NonLocalValue>() {} | pub fn assert_argument_is_non_local_value<Argument: NonLocalValue>() {}
| ^^^^^^^^^^^^^ required by this bound in `assert_argument_is_non_local_value` | ^^^^^^^^^^^^^ required by this bound in `assert_argument_is_non_local_value`
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