Guest User

Untitled

a guest
Jun 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #![feature(nll)]
  2.  
  3. #[derive(Debug)]
  4. struct Foo;
  5.  
  6. fn main() {
  7. let mut owned = Foo;
  8. let _borrowed = &mut owned;
  9. drop(owned);
  10. }
Add Comment
Please, Sign In to add comment