From c009cea4cfa9f6fcbaa073feda67da6e1375e550 Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Fri, 26 Jul 2024 18:58:57 -0700 Subject: [PATCH] chore: upgrade `rust-toolchain` to 1.80 --- rust-toolchain.toml | 2 +- sqlx-core/src/any/kind.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7578eb7e69..1a5a4518d1 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,5 +2,5 @@ # We reserve the right to increase this version at any time without considering it to be a breaking change. # See the answer in FAQ.md for details. [toolchain] -channel = "1.78" +channel = "1.80" profile = "minimal" diff --git a/sqlx-core/src/any/kind.rs b/sqlx-core/src/any/kind.rs index 2112d8c895..f3a77789b0 100644 --- a/sqlx-core/src/any/kind.rs +++ b/sqlx-core/src/any/kind.rs @@ -1,5 +1,8 @@ // Annoying how deprecation warnings trigger in the same module as the deprecated item. #![allow(deprecated)] +// Cargo features are broken in this file. +// `AnyKind` may return at some point but it won't be a simple enum. +#![allow(unexpected_cfgs)] use crate::error::Error; use std::str::FromStr;