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
Checking gloo-events v0.1.1
error[E0308]: mismatched types
--> /home/luke/.cargo/registry/src/github.com-1ecc6299db9ec823/gloo-events-0.1.1/src/lib.rs:537:9
|
534 | pub fn forget(mut self) {
| - expected `()` because of default return type
...
537 | self.callback.take().unwrap_throw().forget()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;`
| |
| expected `()`, found struct `wasm_bindgen::JsValue`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: could not compile `gloo-events`.
Steps to Reproduce
Create a new crate with the following dependencies:
Describe the Bug
With a recent version of the following dependencies,
gloo-events
stopped compiling:Steps to Reproduce
Create a new crate with the following dependencies:
run
cargo check
The text was updated successfully, but these errors were encountered: