mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-21 04:03:11 +00:00
Rename items + Delete imported_module.stderr
This commit is contained in:
parent
2b5820d58b
commit
395b1f5bf3
@ -2,6 +2,8 @@
|
||||
#![allow(unused)]
|
||||
#![warn(clippy::items_after_test_module)]
|
||||
|
||||
// Nothing here should lint, as `tests` is an imported module (that has no body).
|
||||
|
||||
fn main() {}
|
||||
|
||||
fn should_not_lint() {}
|
||||
@ -10,9 +12,9 @@ fn should_not_lint() {}
|
||||
#[cfg(test)]
|
||||
mod tests; // Should not lint
|
||||
|
||||
fn should_lint() {}
|
||||
fn should_not_lint2() {}
|
||||
|
||||
const SHOULD_ALSO_LINT: usize = 1;
|
||||
const SHOULD_ALSO_NOT_LINT: usize = 1;
|
||||
macro_rules! should_not_lint {
|
||||
() => {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user