Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
inline_modules_cfg_test.rs
blob: 2964e2acb4438fd49d0bdd9a20954b198703f807 [
file
]
//@check-pass
//@compile-flags: --cfg test
#![
warn
(
clippy
::
inline_modules
)]
#![
allow
(
clippy
::
non_minimal_cfg
)]
fn
main
()
{}
#[
cfg
(
test
)]
mod
tests
{
mod
nested
{}
}
#[
cfg
(
all
(
test
))]
mod
tests_in_all
{
mod
nested
{}
}