#![allow(unknown_lints)]
warns about unknown lints in another module
#84936
Labels
C-bug
Category: This is a bug.
It seems like
#![allow(unknown_lints)]
only works in the same file where it was added, and not in any sub modules in other files.lib.rs:
other.rs
I expected to see this happen:
No warnings in other.rs about unknown lints
Instead, this happened:
Warnings about unknown lints in other.rs
Meta
rustc --version --verbose
:Also repros with 1.52.0 beta.
The text was updated successfully, but these errors were encountered: