From 57bcd173a77053f131025334524b58c561f83b70 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 15 Nov 2025 02:24:47 -0800 Subject: [PATCH] Fix a clippy warning on newer rust due to lint ordering --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8d8272942..27bbadb8e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,9 @@ //! manual](http://difftastic.wilfred.me.uk/). //! +// I frequently develop difftastic on a newer rustc than the MSRV, so +// these two aren't relevant. +#![allow(renamed_and_removed_lints)] // This tends to trigger on larger tuples of simple types, and naming // them would probably be worse for readability. #![allow(clippy::type_complexity)] @@ -37,9 +40,6 @@ // Debugging features shouldn't be in checked-in code. #![warn(clippy::todo)] #![warn(clippy::dbg_macro)] -// I frequently develop difftastic on a newer rustc than the MSRV, so -// this isn't relevant. -#![allow(renamed_and_removed_lints)] mod conflicts; mod constants;