mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +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()
|
|
}
|