by notnullorvoid · 3y ago · 0 comments
In next-edition:
- 2021 crates that turned Leak feature uses it just as a next-edition crate would. Only things explicitly marked with Leak in the crate can leak.
- 2021 crate that didn't opt-in to Leak feature, automatically marks everything in the crate with Leak.
Your refinement seems like a nice addition to the author's suggestion, if it is possible and doesn't effect compile times too much. Hopefully somebody smarter than me takes a run at the problem.