Add test for #[allow(module_inception)] on the inner module

This commit is contained in:
mcarton 2016-09-09 21:40:30 +02:00 committed by Oliver Schneider
parent cb49e4e210
commit 8216036193
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46

View file

@ -14,4 +14,11 @@ mod foo {
}
}
// No warning. See <https://github.com/Manishearth/rust-clippy/issues/1220>.
mod bar {
#[allow(module_inception)]
mod bar {
}
}
fn main() {}