Duplicate error for using allow inside forbid #131842
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
Use
-Zdeduplicate-diagnostics=false
more context can be found in
tests/ui/lint/issue-70819-dont-override-forbid-in-same-scope.rs
Other cases
No response
Rust Version
rustc 1.83.0-nightly (14f303b 2024-10-04)
binary: rustc
commit-hash: 14f303b
commit-date: 2024-10-04
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: