Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stefson opened this issue Sep 17, 2019 · 1 comment

Comments

@stefson
Copy link

stefson commented Sep 17, 2019

   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? :)

@KamilaBorowska
Copy link

KamilaBorowska commented Mar 21, 2020

It won't be an error ever. There are no plans to remove anything deprecated in Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants