summaryrefslogtreecommitdiff
path: root/ops/tests/compile_fail/unsupported.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'ops/tests/compile_fail/unsupported.stderr')
-rw-r--r--ops/tests/compile_fail/unsupported.stderr55
1 files changed, 23 insertions, 32 deletions
diff --git a/ops/tests/compile_fail/unsupported.stderr b/ops/tests/compile_fail/unsupported.stderr
index 9a1d1462d..5dccead46 100644
--- a/ops/tests/compile_fail/unsupported.stderr
+++ b/ops/tests/compile_fail/unsupported.stderr
@@ -1,39 +1,30 @@
-error: custom attribute panicked
- --> tests/compile_fail/unsupported.rs:5:1
- |
-5 | #[op(fast)]
- | ^^^^^^^^^^^
- |
- = help: message: op cannot be a fast api. enforced by #[op(fast)]
-
-error: custom attribute panicked
- --> tests/compile_fail/unsupported.rs:10:1
- |
-10 | #[op(fast)]
- | ^^^^^^^^^^^
- |
- = help: message: op cannot be a fast api. enforced by #[op(fast)]
-
-error: custom attribute panicked
- --> tests/compile_fail/unsupported.rs:17:1
- |
-17 | #[op(fast)]
- | ^^^^^^^^^^^
- |
- = help: message: op cannot be a fast api. enforced by #[op(fast)]
-
-error: custom attribute panicked
+error: fast async calls are not supported
--> tests/compile_fail/unsupported.rs:22:1
|
22 | #[op(fast)]
| ^^^^^^^^^^^
|
- = help: message: async op cannot be a fast api. enforced by #[op(fast)]
+ = note: this error originates in the attribute macro `op` (in Nightly builds, run with -Z macro-backtrace for more info)
-warning: unused import: `deno_core::v8::fast_api::FastApiCallbackOptions`
- --> tests/compile_fail/unsupported.rs:15:5
- |
-15 | use deno_core::v8::fast_api::FastApiCallbackOptions;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+error[E0277]: the trait bound `&mut FastApiCallbackOptions<'_>: Deserialize<'_>` is not satisfied
+ --> tests/compile_fail/unsupported.rs:17:1
|
- = note: `#[warn(unused_imports)]` on by default
+17 | #[op(fast)]
+ | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `&mut FastApiCallbackOptions<'_>`
+ |
+ = help: the following other types implement trait `Deserialize<'de>`:
+ &'a Path
+ &'a [u8]
+ &'a str
+ ()
+ (T0, T1)
+ (T0, T1, T2)
+ (T0, T1, T2, T3)
+ (T0, T1, T2, T3, T4)
+ and 143 others
+note: required by a bound in `from_v8`
+ --> $WORKSPACE/serde_v8/de.rs
+ |
+ | T: Deserialize<'de>,
+ | ^^^^^^^^^^^^^^^^ required by this bound in `from_v8`
+ = note: this error originates in the attribute macro `op` (in Nightly builds, run with -Z macro-backtrace for more info)