From 5647b856a014154ebca1194cb78bdecdd7f2d0f0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 25 Dec 2019 23:21:51 +0300 Subject: [PATCH] chore: add link to doc to compile error message --- itconfig/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/itconfig/src/lib.rs b/itconfig/src/lib.rs index 375824f..0b9da89 100644 --- a/itconfig/src/lib.rs +++ b/itconfig/src/lib.rs @@ -177,12 +177,14 @@ macro_rules! config { } } + #[macro_export] #[doc(hidden)] macro_rules! __itconfig_invalid_syntax { () => { 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`" ); }; }