diff --git a/Cargo.toml b/Cargo.toml index 1de9877..9236719 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,3 +37,6 @@ pretty_assertions = "1.4" [lib] proc-macro = true + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(instability_disable_unstable_docs)'] } diff --git a/build.rs b/build.rs deleted file mode 100644 index de60773..0000000 --- a/build.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("cargo:rustc-check-cfg=cfg(instability_disable_unstable_docs)"); -}