Unnamed repository; edit this file 'description' to name the repository.
edition = "2024"
BenjaminBrienen 2025-03-16
parent e70a9c5 · commit 70fc7b9
-rw-r--r--Cargo.toml2
-rw-r--r--crates/proc-macro-srv/proc-macro-test/Cargo.toml2
-rw-r--r--crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml2
-rw-r--r--crates/syntax/fuzz/Cargo.toml2
-rw-r--r--docs/book/book.toml2
-rw-r--r--lib/la-arena/Cargo.toml2
-rw-r--r--lib/line-index/Cargo.toml2
-rw-r--r--lib/lsp-server/Cargo.toml2
-rw-r--r--xtask/Cargo.toml2
9 files changed, 9 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e9d70bea34..03ecc8f274 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ resolver = "2"
[workspace.package]
rust-version = "1.85"
-edition = "2021"
+edition = "2024"
license = "MIT OR Apache-2.0"
authors = ["rust-analyzer team"]
repository = "https://github.com/rust-lang/rust-analyzer"
diff --git a/crates/proc-macro-srv/proc-macro-test/Cargo.toml b/crates/proc-macro-srv/proc-macro-test/Cargo.toml
index 16fcc92962..2a5bfdd257 100644
--- a/crates/proc-macro-srv/proc-macro-test/Cargo.toml
+++ b/crates/proc-macro-srv/proc-macro-test/Cargo.toml
@@ -3,7 +3,7 @@ name = "proc-macro-test"
version = "0.0.0"
publish = false
-edition = "2021"
+edition = "2024"
license = "MIT OR Apache-2.0"
[lib]
diff --git a/crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml b/crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml
index fb98d758a8..33b7c2bb0a 100644
--- a/crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml
+++ b/crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml
@@ -2,7 +2,7 @@
name = "proc-macro-test-impl"
version = "0.0.0"
license = "MIT OR Apache-2.0"
-edition = "2021"
+edition = "2024"
publish = false
[lib]
diff --git a/crates/syntax/fuzz/Cargo.toml b/crates/syntax/fuzz/Cargo.toml
index 4d639777c3..8910911ff0 100644
--- a/crates/syntax/fuzz/Cargo.toml
+++ b/crates/syntax/fuzz/Cargo.toml
@@ -2,7 +2,7 @@
name = "syntax-fuzz"
version = "0.0.1"
publish = false
-edition = "2021"
+edition = "2024"
rust-version = "1.85"
[package.metadata]
diff --git a/docs/book/book.toml b/docs/book/book.toml
index a6f6a6ed78..edf11fadf0 100644
--- a/docs/book/book.toml
+++ b/docs/book/book.toml
@@ -6,7 +6,7 @@ src = "src"
title = "rust-analyzer"
[rust]
-edition = "2021"
+edition = "2024"
[output.html]
edit-url-template = "https://github.com/rust-lang/rust-analyzer/edit/master/docs/book/{path}"
diff --git a/lib/la-arena/Cargo.toml b/lib/la-arena/Cargo.toml
index 5fb53a7a55..1c330e0e37 100644
--- a/lib/la-arena/Cargo.toml
+++ b/lib/la-arena/Cargo.toml
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/la-arena"
documentation = "https://docs.rs/la-arena"
categories = ["data-structures", "memory-management", "rust-patterns"]
-edition = "2021"
+edition = "2024"
rust-version = "1.85"
[lints]
diff --git a/lib/line-index/Cargo.toml b/lib/line-index/Cargo.toml
index 14196ba3d0..f15c2e3937 100644
--- a/lib/line-index/Cargo.toml
+++ b/lib/line-index/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.2"
description = "Maps flat `TextSize` offsets to/from `(line, column)` representation."
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/line-index"
-edition = "2021"
+edition = "2024"
[dependencies]
text-size = "1.1.1"
diff --git a/lib/lsp-server/Cargo.toml b/lib/lsp-server/Cargo.toml
index 2fa3272e65..39b931561b 100644
--- a/lib/lsp-server/Cargo.toml
+++ b/lib/lsp-server/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.7.8"
description = "Generic LSP server scaffold."
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server"
-edition = "2021"
+edition = "2024"
[dependencies]
log = "0.4.17"
diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml
index ebd8903ad8..01a561dcb9 100644
--- a/xtask/Cargo.toml
+++ b/xtask/Cargo.toml
@@ -3,7 +3,7 @@ name = "xtask"
version = "0.1.0"
publish = false
license = "MIT OR Apache-2.0"
-edition = "2021"
+edition = "2024"
rust-version.workspace = true
[dependencies]