Remove edition umbrella features.
This commit is contained in:
parent
7e452c123c
commit
f481596ee4
49 changed files with 471 additions and 652 deletions
|
@ -1,4 +1,3 @@
|
|||
use crate::symbol::{sym, Symbol};
|
||||
use std::fmt;
|
||||
use std::str::FromStr;
|
||||
|
||||
|
@ -58,15 +57,6 @@ impl Edition {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn feature_name(self) -> Symbol {
|
||||
match self {
|
||||
Edition::Edition2015 => sym::rust_2015_preview,
|
||||
Edition::Edition2018 => sym::rust_2018_preview,
|
||||
Edition::Edition2021 => sym::rust_2021_preview,
|
||||
Edition::Edition2024 => sym::rust_2024_preview,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_stable(self) -> bool {
|
||||
match self {
|
||||
Edition::Edition2015 => true,
|
||||
|
|
|
@ -1350,13 +1350,10 @@ symbols! {
|
|||
rtm_target_feature,
|
||||
rust,
|
||||
rust_2015,
|
||||
rust_2015_preview,
|
||||
rust_2018,
|
||||
rust_2018_preview,
|
||||
rust_2021,
|
||||
rust_2021_preview,
|
||||
rust_2024,
|
||||
rust_2024_preview,
|
||||
rust_begin_unwind,
|
||||
rust_cold_cc,
|
||||
rust_eh_catch_typeinfo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue