Unnamed repository; edit this file 'description' to name the repository.
chore(msrv): bump from 1.76 to 1.82 (#13275)
Co-authored-by: Michael Davis <[email protected]>
RoloEdits 10 months ago
parent 47cdd23 · commit fbc4e57
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--Cargo.toml2
-rw-r--r--helix-event/src/test.rs1
-rw-r--r--helix-lsp-types/src/lib.rs4
-rw-r--r--helix-stdx/tests/path.rs6
-rw-r--r--rust-toolchain.toml2
6 files changed, 7 insertions, 10 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5cdc795f..90630aeb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,7 +9,7 @@ on:
- 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: ""
diff --git a/Cargo.toml b/Cargo.toml
index 667a8396..2e8bace5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -56,4 +56,4 @@ categories = ["editor"]
repository = "https://github.com/helix-editor/helix"
homepage = "https://helix-editor.com"
license = "MPL-2.0"
-rust-version = "1.76"
+rust-version = "1.82"
diff --git a/helix-event/src/test.rs b/helix-event/src/test.rs
index a1283ada..5a66471e 100644
--- a/helix-event/src/test.rs
+++ b/helix-event/src/test.rs
@@ -56,6 +56,7 @@ fn smoke_test() {
}
#[test]
+#[allow(dead_code)]
fn dynamic() {
events! {
Event3 {}
diff --git a/helix-lsp-types/src/lib.rs b/helix-lsp-types/src/lib.rs
index 41c483f4..fd668de5 100644
--- a/helix-lsp-types/src/lib.rs
+++ b/helix-lsp-types/src/lib.rs
@@ -2568,9 +2568,9 @@ pub enum Documentation {
///
/// 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 {
diff --git a/helix-stdx/tests/path.rs b/helix-stdx/tests/path.rs
index ebc35f02..1e530ce0 100644
--- a/helix-stdx/tests/path.rs
+++ b/helix-stdx/tests/path.rs
@@ -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;
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 70e85c40..74c6fc7a 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.76.0"
+channel = "1.82.0"
components = ["rustfmt", "rust-src", "clippy"]