summaryrefslogtreecommitdiff
path: root/cli/tools/coverage/mod.rs
diff options
context:
space:
mode:
authorKangwook Lee (이강욱) <pbzweihander@gmail.com>2023-06-26 06:41:48 +0900
committerGitHub <noreply@github.com>2023-06-25 21:41:48 +0000
commitd8293cd8bc88eef54f95e2ad11441d2b8f4b6061 (patch)
treeb6681e8a7069c56ac914e0de3355e98db995de11 /cli/tools/coverage/mod.rs
parent8fe9b8a4cc381f9b94ce2caf10c61ddff864bdb4 (diff)
fix(ops): quoting serde_v8::Value (#19593)
The following code: ```rust use deno_core::op; #[op] fn ops_serde_v8(value: serde_v8::Value) { // } fn main() { // } ``` ...with the following `Cargo.toml`: ```toml [package] name = "playground" version = "0.1.0" edition = "2021" [dependencies] deno_core = "0.191.0" serde_v8 = "0.102.0" ``` ...will not compile with the error: ``` error[E0433]: failed to resolve: use of undeclared crate or module `v8` --> src/main.rs:3:1 | 3 | #[op] | ^^^^^ use of undeclared crate or module `v8` | = note: this error originates in the attribute macro `op` (in Nightly builds, run with -Z macro-backtrace for more info) ``` This PR is fixing the above issue by properly quoting `deno_core::v8::Value` instead of `v8::Value`.
Diffstat (limited to 'cli/tools/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions