Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Dynamic traits without "dyn" will not be supported any more #222

Merged
merged 2 commits into from Jun 22, 2019

Conversation

jedisct1
Copy link
Contributor

Also add explicit lifetimes, because implicit ones is so 2015.

Also add explicit lifetimes, because implicit ones is so 2015.
Copy link
Contributor

@acfoltzer acfoltzer left a comment

Choose a reason for hiding this comment

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

Can you add #![deny(bare_trait_objects)] to our crates so this will be enforced?

Also, do you know of a way we could enforce the rule for implicit lifetimes? I don't see one on the list of lints in https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html, but maybe clippy has one?

@jedisct1
Copy link
Contributor Author

Done.

Unfortunately, I don't know of a way to enforce the rule for implicit lifetimes.

I was hoping that this requirement would eventually get reverted, but apparently not :(

@jedisct1 jedisct1 merged commit 4f2d2a5 into master Jun 22, 2019
@jedisct1 jedisct1 deleted the fdenis/rustup branch June 22, 2019 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants