Add example to compile_error message

This commit is contained in:
Andreas Longva 2020-11-16 14:13:17 +01:00
parent a4fa3f9c1b
commit 93eddc2120
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#[cfg(any(not(feature = "debug"), not(feature = "compare")))] #[cfg(any(not(feature = "debug"), not(feature = "compare")))]
compile_error!( compile_error!(
"Please enable the `debug` and `compare` features \ "Please enable the `debug` and `compare` features in order to compile and run the tests.
in order to compile and run the tests." Example: `cargo test --features debug --features compare`"
); );
#[cfg(feature = "abomonation-serialize")] #[cfg(feature = "abomonation-serialize")]