Compiling on rust 1.37.0 gives the following error:
error[E0008]: cannot bind by-move into a pattern guard
--> src/msf/mod.rs:393:28
|
393 | Error::IoError(x) if x.kind() == std::io::ErrorKind::UnexpectedEof => {
| ^ moves value into pattern guard
error: aborting due to previous error
Modifying the match statement slightly will let rust 1.37.0 as well as 1.40.0 compile the pdb crate successfully.
Compiling on rust 1.37.0 gives the following error:
Modifying the match statement slightly will let rust 1.37.0 as well as 1.40.0 compile the pdb crate successfully.