warning: the following explicit lifetimes could be elided: 'a
--> src/aserror.rs:47:6
|
47 | impl<'a> Sealed for dyn Error + 'a {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
= note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
help: elide the lifetimes
|
47 - impl<'a> Sealed for dyn Error + 'a {}
47 + impl Sealed for dyn Error + '_ {}
|
warning: the following explicit lifetimes could be elided: 'a
--> src/aserror.rs:48:6
|
48 | impl<'a> Sealed for dyn Error + Send + 'a {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
help: elide the lifetimes
|
48 - impl<'a> Sealed for dyn Error + Send + 'a {}
48 + impl Sealed for dyn Error + Send + '_ {}
|
warning: the following explicit lifetimes could be elided: 'a
--> src/aserror.rs:49:6
|
49 | impl<'a> Sealed for dyn Error + Send + Sync + 'a {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
help: elide the lifetimes
|
49 - impl<'a> Sealed for dyn Error + Send + Sync + 'a {}
49 + impl Sealed for dyn Error + Send + Sync + '_ {}
|
warning: the following explicit lifetimes could be elided: 'a
--> src/aserror.rs:50:6
|
50 | impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
help: elide the lifetimes
|
50 - impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {}
50 + impl Sealed for dyn Error + Send + Sync + UnwindSafe + '_ {}
|
error[E0599]: the method `as_display` exists for reference `&<T as FromStr>::Err`, but its trait bounds were not satisfied
--> tests/test_generics.rs:178:13
|
178 | #[error("couldn't parse entry: {0}")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `&<T as FromStr>::Err` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`<T as FromStr>::Err: std::fmt::Display`
which is required by `&<T as FromStr>::Err: AsDisplay<'_>`
error[E0425]: cannot find value `_0` in this scope
--> tests/test_display.rs:308:17
|
308 | #[error("{0}")]
| ^^^^^ not found in this scope
error[E0425]: cannot find value `__display_x` in this scope
--> tests/test_display.rs:310:17
|
310 | #[error("{x}")]
| ^^^^^ not found in this scope
error: use of deprecated struct `test_deprecated::DeprecatedStruct`
--> tests/test_lints.rs:73:13
|
73 | DeprecatedStruct,
| ^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> tests/test_lints.rs:39:13
|
39 | #![deny(deprecated)]
| ^^^^^^^^^^