chore: add link to doc to compile error message
This commit is contained in:
parent
f363bc69cc
commit
5647b856a0
1 changed files with 3 additions and 1 deletions
|
@ -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`"
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue