Fix deprecation warning about bare trait object syntax

This commit is contained in:
Oliver Hamlet
2019-10-05 13:24:52 +01:00
parent cb211d6ec3
commit e5755629e6
+1 -1
View File
@@ -15,7 +15,7 @@ pub enum Error {
UnconsumedInput(String),
/// The string is the input at which the error was encountered.
ParsingError(String, ParsingErrorKind),
PeParsingError(PathBuf, Box<error::Error>),
PeParsingError(PathBuf, Box<dyn error::Error>),
IoError(PathBuf, io::Error),
}