Re:Rust 1.56.0 and Rust 2021
by woodruffw on Thursday October 21, 2021 @12:36PM
(#28947064)
Version pragmas themselves aren't new -- even Perl has them[1]. What makes Rust's implementation nice (and somewhat unique) is its commitment to backwards compatibility while allowing codebases to incrementally move towards a new edition.
[1]: https://perldoc.perl.org/functions/use