mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23: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()
|
|
}
|