Rename items + Delete imported_module.stderr

This commit is contained in:
blyxyas 2023-04-28 20:40:47 +02:00
parent 2b5820d58b
commit 395b1f5bf3
No known key found for this signature in database
GPG key ID: 4D38170B5A2FC334
2 changed files with 4 additions and 2 deletions

View file

@ -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 {
() => {};
}