blob: 80ee681a51799da77742a938ba54ad85dd34393a (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0301]: cannot mutably borrow in a pattern guard
--> $DIR/E0301.rs:4:19
|
LL | option if option.take().is_none() => {},
| ^^^^^^ borrowed mutably in pattern guard
error: aborting due to previous error
For more information about this error, try `rustc --explain E0301`.
|