blob: 304be22f7d86098168048fb6d75b8e27f0ddd08a [file]
error: code is excluded from test builds
--> tests/ui/cfg_not_test.rs:7:5
|
LL | #[cfg(not(test))]
| ^^^^^^^^^^^^^^^^^
|
= help: consider not excluding any code from test builds
= note: this could increase code coverage despite not actually being tested
= note: `-D clippy::cfg-not-test` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::cfg_not_test)]`
error: code is excluded from test builds
--> tests/ui/cfg_not_test.rs:12:5
|
LL | #[cfg(not(test))]
| ^^^^^^^^^^^^^^^^^
|
= help: consider not excluding any code from test builds
error: code is excluded from test builds
--> tests/ui/cfg_not_test.rs:25:1
|
LL | #[cfg(not(test))]
| ^^^^^^^^^^^^^^^^^
|
= help: consider not excluding any code from test builds
error: code is excluded from test builds
--> tests/ui/cfg_not_test.rs:28:1
|
LL | #[cfg(all(debug_assertions, not(test)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider not excluding any code from test builds
error: code is excluded from test builds
--> tests/ui/cfg_not_test.rs:31:1
|
LL | #[cfg(not(any(not(debug_assertions), test)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider not excluding any code from test builds
error: aborting due to 5 previous errors