Debian Codegraph @

.cargo/vendor/wasm-bindgen-macro/ui-tests/link-to.stderr

raw
1 error: `link_to!` does not support module paths.
2 --> ui-tests/link-to.rs:10:37
3 |
4 10 | wasm_bindgen::link_to!(module = "package/foo.js")
5 | ^^^^^^^^^^^^^^^^
6
7 error: `link_to!` does not support module paths.
8 --> ui-tests/link-to.rs:14:41
9 |
10 14 | wasm_bindgen::link_to!(raw_module = "package/foo.js")
11 | ^^^^^^^^^^^^^^^^
12
13 error: failed to read file `$WORKSPACE/target/tests/trybuild/wasm-bindgen-macro/src/not-found.js`: No such file or directory (os error 2)
14 --> ui-tests/link-to.rs:18:37
15 |
16 18 | wasm_bindgen::link_to!(module = "/src/not-found.js")
17 | ^^^^^^^^^^^^^^^^^^^
18
19 error: `link_to!` requires a module.
20 --> ui-tests/link-to.rs:22:5
21 |
22 22 | wasm_bindgen::link_to!()
23 | ^^^^^^^^^^^^^^^^^^^^^^^^
24 |
25 = note: this error originates in the macro `wasm_bindgen::link_to` (in Nightly builds, run with -Z macro-backtrace for more info)
26
27 error: unused wasm_bindgen attribute
28 --> ui-tests/link-to.rs:28:9
29 |
30 28 | js_namespace = foo
31 | ^^^^^^^^^^^^