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
$ cargo build --features near-sdk/__abi-generate
Compiling adder v0.1.0 (/Users/miraclx/git/near/near-sdk-rs/examples/adder)
error[E0308]: mismatched types
--> src/lib.rs:12:1
|
12 | #[near_bindgen]
| ^^^^^^^^^^^^^^^ expected struct `Input`, found struct `MyTypeExt`
|
= note: expected reference `&Input<'_>`
found reference `&MyTypeExt`
= note: this error originates in the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0308, E0411.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `adder` due to 4 previous errors
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: