>We have to keep the old syntax working for stability reasons
Will Rust 2018 enable you to remove the old syntax? Or is that a bigger change than the opt-in is allowed to cover?
Will Rust 2018 enable you to remove the old syntax? Or is that a bigger change than the opt-in is allowed to cover?
#![deny(bare_trait_objects)]
To the top of your crate and cause a compiler warning if someone uses the old syntax on your project.EDIT: just realized I mis-parsed "you" in parent. Oh well.
That being said, this particular fix is 100% automatable, and rustfix can already do it, so the time to update is “a few seconds”.
Edit: I didn't see the answer from steveklabnik below. Apparently, it's not clearly decided yet.