Fix all bare_trait_objects warnings, and deny them.

This commit is contained in:
Emmanuel Gil Peyrot 2019-06-12 16:29:55 +02:00
commit 956193e0da
6 changed files with 8 additions and 8 deletions

View file

@ -59,7 +59,7 @@ impl StdError for ParseError {
fn description(&self) -> &str {
self.0.as_ref()
}
fn cause(&self) -> Option<&StdError> {
fn cause(&self) -> Option<&dyn StdError> {
None
}
}