From a45efd4c2e9bb185bda40225e734bfb6904d100b Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Thu, 9 Jan 2025 11:49:07 -0800 Subject: [PATCH] Rust 1.84: Correct `unknown_lints` notes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (The lint addition wasn’t delayed; it just was never that early in the first place.) --- all-is-cubes-desktop/src/logging.rs | 2 +- all-is-cubes-desktop/src/record.rs | 2 +- all-is-cubes-desktop/src/universe_source.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/all-is-cubes-desktop/src/logging.rs b/all-is-cubes-desktop/src/logging.rs index 0574e9d25..1c8b8ed14 100644 --- a/all-is-cubes-desktop/src/logging.rs +++ b/all-is-cubes-desktop/src/logging.rs @@ -202,7 +202,7 @@ pub fn new_progress_bar(len: u64) -> indicatif::ProgressBar { /// [`indicatif::ProgressStyle`] for progress bars we display. pub fn common_progress_style() -> indicatif::ProgressStyle { - #![allow(unknown_lints)] // TODO: Remove in Rust 1.84 + #![allow(unknown_lints)] // TODO: Remove in Rust 1.85 #![allow(clippy::literal_string_with_formatting_args)] indicatif::ProgressStyle::default_bar() .template("{prefix:8} [{elapsed}] {wide_bar} {pos:>6}/{len:6} {msg:30}") diff --git a/all-is-cubes-desktop/src/record.rs b/all-is-cubes-desktop/src/record.rs index 05eb3ccad..d78861f5d 100644 --- a/all-is-cubes-desktop/src/record.rs +++ b/all-is-cubes-desktop/src/record.rs @@ -264,7 +264,7 @@ impl Recorder { pub(crate) async fn record_task(mut self, ctx: &MainTaskContext) { let frame_range = self.options.frame_range(); - #[allow(unknown_lints)] // TODO: Remove in Rust 1.84 + #[allow(unknown_lints)] // TODO: Remove in Rust 1.85 #[allow(clippy::literal_string_with_formatting_args)] let progress_style = indicatif::ProgressStyle::default_bar() .template("{prefix:8} [{elapsed}] {wide_bar} {pos:>6}/{len:6}") diff --git a/all-is-cubes-desktop/src/universe_source.rs b/all-is-cubes-desktop/src/universe_source.rs index b39bd41e2..2bdcc0140 100644 --- a/all-is-cubes-desktop/src/universe_source.rs +++ b/all-is-cubes-desktop/src/universe_source.rs @@ -41,7 +41,7 @@ impl UniverseSource { // TODO: figure out a cleaner way to wrangle this rx hookup let notif_rx = Mutex::new(TryRecvKeep::Rx(notif_rx)); - #[allow(unknown_lints)] // TODO: Remove in Rust 1.84 + #[allow(unknown_lints)] // TODO: Remove in Rust 1.85 #[allow(clippy::literal_string_with_formatting_args)] let universe_progress_bar = logging::new_progress_bar(100) .with_style(