mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
Use compile_error! instead of use num_cpus
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#[cfg(doctest)]
|
||||
use num_cpus as _;
|
||||
compile_error!("rustdoc should not touch me");
|
||||
|
||||
#[cfg(test)]
|
||||
compile_error!("Miri should not touch me");
|
||||
|
||||
Reference in New Issue
Block a user