From 3355ab991dddae62baf7e758b0089370c227f1f8 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Fri, 29 Nov 2024 12:57:44 +0100 Subject: [PATCH] fix: correct non-local-definitions lint configuration in Cargo.toml and allow it in lib.rs Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- Cargo.toml | 2 +- src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ffae020..e2f2a88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -173,7 +173,7 @@ unused_comparisons = "warn" unused_parens = "warn" while_true = "warn" unreachable_pub = "allow" -non-local-definitions = "allow" +non_local_definitions = "allow" [workspace.lints.clippy] redundant_pub_crate = "allow" diff --git a/src/lib.rs b/src/lib.rs index 8ce9eb1..dc3b322 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,8 @@ //! //! [Abscissa]: https://github.com/iqlusioninc/abscissa +#![allow(non_local_definitions)] + pub mod acl; pub mod application; pub mod auth;