mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
chore: Bump Edition::CURRENT to 2024
This commit is contained in:
parent
23e8d13531
commit
a505420751
24 changed files with 277 additions and 244 deletions
|
|
@ -15,9 +15,9 @@ pub enum Edition {
|
|||
impl Edition {
|
||||
pub const DEFAULT: Edition = Edition::Edition2015;
|
||||
pub const LATEST: Edition = Edition::Edition2024;
|
||||
pub const CURRENT: Edition = Edition::Edition2021;
|
||||
pub const CURRENT: Edition = Edition::Edition2024;
|
||||
/// The current latest stable edition, note this is usually not the right choice in code.
|
||||
pub const CURRENT_FIXME: Edition = Edition::Edition2021;
|
||||
pub const CURRENT_FIXME: Edition = Edition::Edition2024;
|
||||
|
||||
pub fn from_u32(u32: u32) -> Edition {
|
||||
match u32 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue