From 8667ad97c1d4e75ac1bb323fb5c7849269814145 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 25 Feb 2024 23:30:42 -0800 Subject: [PATCH] Ignore module_name_repetitions pedantic clippy lint in codegen warning: item name ends with its containing module's name --> src/cfg.rs:5:10 | 5 | pub enum DocCfg { | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions = note: `-W clippy::module-name-repetitions` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::module_name_repetitions)]` --- codegen/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/src/main.rs b/codegen/src/main.rs index 8b8670c5e..10f987f5c 100644 --- a/codegen/src/main.rs +++ b/codegen/src/main.rs @@ -13,6 +13,7 @@ clippy::items_after_statements, clippy::manual_let_else, clippy::match_like_matches_macro, + clippy::module_name_repetitions, clippy::similar_names, clippy::too_many_lines, clippy::uninlined_format_args