2023-05-08 11:38:41 -05:00
|
|
|
//@compile-flags: --test
|
2023-04-05 13:38:44 -05:00
|
|
|
|
2023-04-01 18:51:44 -05:00
|
|
|
#![warn(clippy::wildcard_imports)]
|
|
|
|
#![allow(unused, clippy::unnecessary_wraps, clippy::let_unit_value)]
|
|
|
|
|
2023-04-05 13:38:44 -05:00
|
|
|
// Test for #10580, the lint should ignore it because of the crate's cfg test flag.
|
2023-04-01 18:51:44 -05:00
|
|
|
|
|
|
|
fn foofoo() {}
|
|
|
|
|
|
|
|
mod outer {
|
|
|
|
mod inner {
|
|
|
|
use super::super::*;
|
|
|
|
fn barbar() {
|
|
|
|
let _ = foofoo();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|