It's possible if you provide the migration tool, something like Rust's `cargo fix`[1]. Apart from small obvious warnings, it can apply the migration from the Rust-2015 edition to Rust-2018 one[2]. Introducing the new R edition and a similar tool could help with this.
[1] https://github.com/rust-lang/rustfix
[2] https://doc.rust-lang.org/nightly/edition-guide/editions/tra...