mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
3ef366705b
Remove `is_in_test_module_or_function` Uses are replaced with `is_in_test` for consistency with other lints and to simplify the implementation of the lints. This means the module name is no longer checked, but that was a horrible hack from a time when late passes couldn't see `#[cfg(..)]` attributes. changelog: none