From 738ea75453567c5f17a543e68aec8c48097cae7b Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 16 May 2024 17:28:37 +0200 Subject: [PATCH] Add clippy::use_self lint --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 8c59b92deb5..13c04b7c922 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -240,6 +240,7 @@ unnested_or_patterns = "warn" unused_peekable = "warn" unused_rounding = "warn" unused_self = "warn" +use_self = "warn" useless_transmute = "warn" verbose_file_reads = "warn" wildcard_dependencies = "warn"