Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/main.rs:93:28: 93:31 error: cannot borrow `*req` as mutable more than once at a time [E0499]
- src/main.rs:93 let cookie_jar = req.get_mut::<CookieJar>().unwrap();
- ^~~
- src/main.rs:93:28: 93:31 help: run `rustc --explain E0499` to see a detailed explanation
- src/main.rs:92:25: 92:28 note: previous borrow of `*req` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*req` until the borrow ends
- src/main.rs:92 let mut cid = req.get_mut::<Cid>().unwrap();
- ^~~
- src/main.rs:110:8: 110:8 note: previous borrow ends here
- src/main.rs:91 fn before(&self, req: &mut Request) -> IronResult<()> {
- ...
- src/main.rs:110 }
- ^
- error: aborting due to previous error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement