blob: 203c4e15b50c385a3583a5262b5dd54a36bf4468 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//@compile-flags: --test
#![warn(clippy::wildcard_imports)]
#![allow(unused, clippy::unnecessary_wraps, clippy::let_unit_value)]
// Test for #10580, the lint should ignore it because of the crate's cfg test flag.
fn foofoo() {}
mod outer {
mod inner {
use super::super::*;
fn barbar() {
let _ = foofoo();
}
}
}
fn main() {}
|