mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-26 22:50:56 +00:00
4 lines
99 B
Rust
4 lines
99 B
Rust
#[must_use]
|
|
pub fn is_rustc_test_suite() -> bool {
|
|
option_env!("RUSTC_TEST_SUITE").is_some()
|
|
}
|