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

View File

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