mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This fixes a bug where these tests could fail if your terminal was too wide: https://github.com/dtolnay/trybuild/pull/325
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
error[E0277]: the trait bound `Vc<i32>: NonLocalValue` is not satisfied
|
|
--> tests/function/fail_operation_vc_arg.rs:8:26
|
|
|
|
|
8 | async fn multiply(value: Vc<i32>, coefficient: ResolvedVc<i32>) -> Result<Vc<i32>> {
|
|
| ^^^^^^^ the trait `NonLocalValue` is not implemented for `Vc<i32>`
|
|
|
|
|
= help: the following other types implement trait `NonLocalValue`:
|
|
&T
|
|
&mut T
|
|
()
|
|
(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)
|
|
(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
|
|
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
|
|
|
|
|
| pub fn assert_argument_is_non_local_value<Argument: NonLocalValue>() {}
|
|
| ^^^^^^^^^^^^^ required by this bound in `assert_argument_is_non_local_value`
|