You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if there is no `dyn`, there are warnings like this:
warning: trait objects without an explicit `dyn` are deprecated
--> xxx.rs:5:45
|
5 | type Result<T> = std::result::Result<T, Box<error::Error>>;
| ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: trait objects without an explicit `dyn` are deprecated
--> xxx.rs:21:32
|
21 | fn cause(&self) -> Option<&error::Error> {
| ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
0 commit comments