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