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
This commit is contained in:
François Mockers 2025-06-21 01:44:31 +02:00 committed by GitHub
parent 84f21f7c8a
commit 9ed928b071
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"