From 9ed928b0718eee327c6bb60393364d15230c6eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Sat, 21 Jun 2025 01:44:31 +0200 Subject: [PATCH] don't allow nightly lints (#19756) # Objective - A nightly only lint is allowed in cargo.toml, making all stable builds issue warning - Fixes #19528 ## Solution - Don't allow nightly lints --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d2e5b92258..532860125e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,6 @@ allow_attributes_without_reason = "warn" [workspace.lints.rust] missing_docs = "warn" -mismatched_lifetime_syntaxes = "allow" unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn"