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
When attempting to build bfc with Rust Nightly, I got this error:
error[E0503]: cannot use `state` because it was mutably borrowed
--> /home/arni/.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33
|
955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
| ---------------------------------------- borrow of `state` occurs here
...
959 | state = match (state, whitespace, limit) {
| ----- borrow occurs due to use of `state` in closure
...
1008 | while cont && match state { B | C => true, A => false } {
| ^ use of borrowed `state`
1009 | machine(&mut cont, (fake_i, ' '));
| ------- borrow later used here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0503`.
error: could not compile `getopts`.
When attempting to build
bfc
with Rust Nightly, I got this error:It went away when the dependencies were updated:
The text was updated successfully, but these errors were encountered: