changeset 6752:26763ac2b61e

chore(msrv): bump from 1.76 to 1.82 (#13275) Co-authored-by: Michael Davis <[email protected]>
author RoloEdits <RoloEdits@gmail.com>
date Mon, 28 Apr 2025 07:48:54 -0700
parents 5f429c3a082e
children ddf879daa606
files .github/workflows/build.yml Cargo.toml helix-event/src/test.rs helix-lsp-types/src/lib.rs helix-stdx/tests/path.rs rust-toolchain.toml
diffstat 6 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Mon Apr 28 09:44:23 2025 -0400
+++ b/.github/workflows/build.yml	Mon Apr 28 07:48:54 2025 -0700
@@ -9,7 +9,7 @@
     - cron: "00 01 * * *"
 
 env:
-  MSRV: "1.76"
+  MSRV: "1.82"
   # This key can be changed to bust the cache of tree-sitter grammars.
   GRAMMAR_CACHE_VERSION: ""
 
--- a/Cargo.toml	Mon Apr 28 09:44:23 2025 -0400
+++ b/Cargo.toml	Mon Apr 28 07:48:54 2025 -0700
@@ -56,4 +56,4 @@
 repository = "https://github.com/helix-editor/helix"
 homepage = "https://helix-editor.com"
 license = "MPL-2.0"
-rust-version = "1.76"
+rust-version = "1.82"
--- a/helix-event/src/test.rs	Mon Apr 28 09:44:23 2025 -0400
+++ b/helix-event/src/test.rs	Mon Apr 28 07:48:54 2025 -0700
@@ -56,6 +56,7 @@
 }
 
 #[test]
+#[allow(dead_code)]
 fn dynamic() {
     events! {
         Event3 {}
--- a/helix-lsp-types/src/lib.rs	Mon Apr 28 09:44:23 2025 -0400
+++ b/helix-lsp-types/src/lib.rs	Mon Apr 28 07:48:54 2025 -0700
@@ -2568,9 +2568,9 @@
 ///
 /// The pair of a language and a value is an equivalent to markdown:
 ///
-/// ```${language}
+/// <pre><code>```${language}
 /// ${value}
-/// ```
+/// ```</code></pre>
 #[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
 #[serde(untagged)]
 pub enum MarkedString {
--- a/helix-stdx/tests/path.rs	Mon Apr 28 09:44:23 2025 -0400
+++ b/helix-stdx/tests/path.rs	Mon Apr 28 07:48:54 2025 -0700
@@ -1,10 +1,6 @@
 #![cfg(windows)]
 
-use std::{
-    env::set_current_dir,
-    error::Error,
-    path::{Component, Path, PathBuf},
-};
+use std::{env::set_current_dir, error::Error, path::Component};
 
 use helix_stdx::path;
 use tempfile::Builder;
--- a/rust-toolchain.toml	Mon Apr 28 09:44:23 2025 -0400
+++ b/rust-toolchain.toml	Mon Apr 28 07:48:54 2025 -0700
@@ -1,3 +1,3 @@
 [toolchain]
-channel = "1.76.0"
+channel = "1.82.0"
 components = ["rustfmt", "rust-src", "clippy"]