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
{{ message }}
This repository was archived by the owner on Oct 29, 2021. It is now read-only.
❯ cargo run
Compiling messages-obsidian v0.1.0 (/Users/jkgan/Developer/Rust/messages-obsidian)
error[E0505]: cannot move out of `ctx` because it is borrowed
--> src/lib.rs:30:3
|
25 |let hello = ctx.headers()
| --- borrow of `ctx` occurs here
...
30 | ctx.build_json(IndexResponse { message: hello.to_owned() }).ok()
| ^^^ move out of `ctx` occurs here ----- borrow later used here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0505`.
error: could not compile `messages-obsidian`.
To learn more, run the command again with --verbose.