Skip to content

compile with rust-1.37 gives warning: trait objects without an explicit dyn are deprecated #17

Open
@stefson

Description

   Compiling void v1.0.2 (/tmp/rust-void)
warning: trait objects without an explicit `dyn` are deprecated
  --> src/lib.rs:67:32
   |
67 |     fn cause(&self) -> Option<&error::Error> {
   |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
   |
   = note: #[warn(bare_trait_objects)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 0.21s

you might want to fix this, before it get's turned into an error in the future? :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions