You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `ops` in `core`
--> src/actions_toolkit/core.rs:41:1
|
41 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^ could not find `ops` in `core`
|
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
|
1 + use ::core::ops;
|
1 + use std::ops;
|
Describe the Bug
Using
#[wasm_bindgen]
in a crate namedcore
fails to generate aDeref
impl for an imported Javascript type.Steps to Reproduce
Compile the following crate named
core
Expected Behavior
The global path
core
in the extern prelude is used so that it doesn't conflict with the local crate.Actual Behavior
Additional Context
Workarounds
The text was updated successfully, but these errors were encountered: