Skip to content

Commit 2aa247d

Browse files
committed
update snapshots
1 parent 3eb4e3e commit 2aa247d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
error: methods taking `self` are not supported with `operation`
2-
--> tests/function/fail_operation_method_self_type.rs:13:28
2+
Error: --> tests/function/fail_operation_method_self_type.rs:13:28
33
|
44
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
55
| ^^^^^^^^^^^^^^^^^^^^^^^
66

7+
error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>`
8+
Error: --> tests/function/fail_operation_method_self_type.rs:13:34
9+
|
10+
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
11+
| ^^^^^^^^^^^^^^^^^
12+
|
13+
= note: type of `self` must be `Self` or some type implementing `Receiver`
14+
= 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>`
15+
716
error[E0277]: the trait bound `fn(...) -> ... {...::arbitrary_self_type_turbo_tasks_function_inline}: IntoTaskFnWithThis<_, _, _>` is not satisfied
8-
--> tests/function/fail_operation_method_self_type.rs:10:1
17+
Error: --> tests/function/fail_operation_method_self_type.rs:10:1
918
|
1019
10 | #[turbo_tasks::value_impl]
1120
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
@@ -22,12 +31,3 @@ note: required by a bound in `NativeFunction::new_method`
2231
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `NativeFunction::new_method`
2332
= note: consider using `--verbose` to print the full type name to the console
2433
= note: this error originates in the attribute macro `turbo_tasks::value_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
25-
26-
error[E0307]: invalid `self` parameter type: `OperationVc<Foobar>`
27-
--> tests/function/fail_operation_method_self_type.rs:13:34
28-
|
29-
13 | fn arbitrary_self_type(self: OperationVc<Self>) -> Vc<()> {
30-
| ^^^^^^^^^^^^^^^^^
31-
|
32-
= note: type of `self` must be `Self` or some type implementing `Receiver`
33-
= 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>`

0 commit comments

Comments
 (0)