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

cleanup deprecation warnings about missing dyn with trait objects #2997

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

antiochp
Copy link
Member

This PR fixes various deprecation warnings with rust 1.37.0, specifically around trait objects and no explicit dyn -

rustc --version
rustc 1.37.0 (eae3437df 2019-08-13)
   Compiling grin_servers v2.0.1-beta.1 (/antiochp/grin/servers)
warning: trait objects without an explicit `dyn` are deprecated
   --> servers/src/grin/dandelion_monitor.rs:105:16
    |
105 |     adapter: &Arc<DandelionAdapter>,
    |                   ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DandelionAdapter`
    |
    = note: #[warn(bare_trait_objects)] on by default

@antiochp antiochp added the task label Aug 23, 2019
Copy link
Member

@quentinlesceller quentinlesceller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@antiochp antiochp merged commit dcd405e into mimblewimble:master Aug 26, 2019
@antiochp antiochp deleted the cleanup_deprecation_warnings branch August 26, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants