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
error[E0503]: cannot use state because it was mutably borrowed
--> /Users/user/.cargo/registry/src/github.looper.workers.dev-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
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
The text was updated successfully, but these errors were encountered:
error[E0503]: cannot use
state
because it was mutably borrowed--> /Users/user/.cargo/registry/src/github.looper.workers.dev-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
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
The text was updated successfully, but these errors were encountered: