Advertisement
Guest User

Untitled

a guest
Jan 13th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.63 KB | None | 0 0
  1. C:/Users/user/.cargo/bin/cargo.exe run --package mvc --bin mvc
  2.    Compiling mvc v0.1.0 (file:///C:/Users/user/Documents/rust/mvc)
  3. error[E0477]: the type `[closure@src\presenter.rs:12:24: 14:22 self:&mut presenter::LoginPresenter<ViewT>]` does not fulfill the required lifetime
  4.   --> src\presenter.rs:18:19
  5.    |
  6. 18 |                 v.set_login_callback(callback);
  7.    |                   ^^^^^^^^^^^^^^^^^^
  8.    |
  9.    = note: type must satisfy the static lifetime
  10.  
  11. error: aborting due to previous error
  12.  
  13. error: Could not compile `mvc`.
  14.  
  15. To learn more, run the command again with --verbose.
  16.  
  17. Process finished with exit code 101
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement