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

Tracking issue for the bare_trait_object compatibility lint #48457

Closed
Manishearth opened this issue Feb 23, 2018 · 1 comment
Closed

Tracking issue for the bare_trait_object compatibility lint #48457

Manishearth opened this issue Feb 23, 2018 · 1 comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC

Comments

@Manishearth
Copy link
Member

Manishearth commented Feb 23, 2018

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.

@pietroalbini pietroalbini added the C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC label Feb 27, 2018
@Manishearth
Copy link
Member Author

This lint isn't actually a future compat lint, closing the tracking issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC
Projects
None yet
Development

No branches or pull requests

2 participants