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:
parent
ad27045c31
commit
d6bb98e757
5 changed files with 67 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue