SHARE
TWEET

Untitled

a guest Jan 24th, 2015 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. src/main.rs:7:49: 7:57 error: type `core::result::Result<glfw::Glfw, glfw::InitError>` does not implement any method in scope named `unwrap`
  2. src/main.rs:7     let glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
  3.                                                               ^~~~~~~~
  4. src/main.rs:18:5: 18:26 error: the type of this value must be known in this context
  5. src/main.rs:18     window.make_current();
  6.                    ^~~~~~~~~~~~~~~~~~~~~
  7. src/main.rs:18:26: 18:26 help: methods from traits can only be called if the trait is implemented and in scope; the following trait defines a method `make_current`, perhaps you need to implement it:
  8. src/main.rs:18:26: 18:26 help: candidate #1: `glfw::Context`
  9. src/main.rs:34:30: 34:30 help: methods from traits can only be called if the trait is implemented and in scope; the following trait defines a method `swap_buffers`, perhaps you need to implement it:
  10. src/main.rs:34:30: 34:30 help: candidate #1: `glfw::Context`
  11. error: aborting due to 2 previous errors
  12. Could not compile `hello_world`.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top