1
Fork 0

span: add a "future" edition

It's hard to implement edition migrations without having a perma-unstable
"future" edition to target.
This commit is contained in:
David Wood 2025-02-12 05:41:02 +00:00
parent ad27045c31
commit d6bb98e757
No known key found for this signature in database
5 changed files with 67 additions and 2 deletions

View file

@ -60,6 +60,7 @@ pub fn inject(
Edition2018 => sym::rust_2018,
Edition2021 => sym::rust_2021,
Edition2024 => sym::rust_2024,
EditionFuture => sym::rust_future,
}])
.map(|&symbol| Ident::new(symbol, span))
.collect();