chore: add link to doc to compile error message

This commit is contained in:
Dmitriy Pleshevskiy 2019-12-25 23:21:51 +03:00
parent f363bc69cc
commit 5647b856a0

View file

@ -177,12 +177,14 @@ macro_rules! config {
} }
} }
#[macro_export] #[macro_export]
#[doc(hidden)] #[doc(hidden)]
macro_rules! __itconfig_invalid_syntax { macro_rules! __itconfig_invalid_syntax {
() => { () => {
compile_error!( compile_error!(
"Invalid `config!` syntax. Please see the `config!` macro docs for more info." "Invalid `config!` syntax. Please see the `config!` macro docs for more info.\
`https://docs.rs/itconfig/latest/itconfig/macro.config.html`"
); );
}; };
} }