diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92f74b953dd..4be2266bf4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,8 @@ name: CI on: [push, pull_request] env: - rust_min: 1.70.0 - rust_nightly: nightly-2023-05-31 + rust_min: 1.71.0 + rust_nightly: nightly-2023-07-12 jobs: test: diff --git a/README.md b/README.md index f5ccb103636..af2ab1b560a 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread"] } ## MSRV Policy -Serenity's minimum supported Rust version (MSRV) is Rust 1.70. +Serenity's minimum supported Rust version (MSRV) is Rust 1.71. We opt to keep MSRV stable on the `current` branch. This means it will remain unchanged between minor releases. Occasionally, dependencies may violate SemVer @@ -251,5 +251,5 @@ a Rust-native cloud development platform that allows deploying Serenity bots for [repo:andesite]: https://github.com/natanbc/andesite [repo:lavaplayer]: https://github.com/sedmelluq/lavaplayer [logo]: https://raw.githubusercontent.com/serenity-rs/serenity/current/logo.png -[rust-version-badge]: https://img.shields.io/badge/rust-1.70.0+-93450a.svg?style=flat-square -[rust-version-link]: https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html +[rust-version-badge]: https://img.shields.io/badge/rust-1.71.0+-93450a.svg?style=flat-square +[rust-version-link]: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html diff --git a/command_attr/src/lib.rs b/command_attr/src/lib.rs index 52750c9b514..c9828edf99b 100644 --- a/command_attr/src/lib.rs +++ b/command_attr/src/lib.rs @@ -684,7 +684,6 @@ pub fn group(attr: TokenStream, input: TokenStream) -> TokenStream { sub_groups, } = options; - #[allow(clippy::redundant_clone)] // currently a false-positive on 1.70 let cooked = group.cooked.clone(); let n = group.name.with_suffix(GROUP); @@ -781,7 +780,6 @@ pub fn check(_attr: TokenStream, input: TokenStream) -> TokenStream { create_return_type_validation(&mut fun, &res); let n = fun.name.clone(); - #[allow(clippy::redundant_clone)] // currently a false-positive on 1.70 let n2 = name.clone(); let visibility = fun.visibility; let name = if name == "" { fun.name.clone() } else { Ident::new(&name, Span::call_site()) };