Skip to content

Tracking issue for the bare_trait_object compatibility lint #48457

Closed
@Manishearth

Description

@Manishearth

In Rust 2018, things like Box<Trait> will become deprecated in favor of using Box<dyn Trait>

Eventually (not the Rust 2018 epoch), using Trait as a type may be removed entirely, or mean impl Trait instead. To mitigate this breakage in future epochs, please replace cases where Trait is used as a type with dyn Trait.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions