Unnamed repository; edit this file 'description' to name the repository.
Allow unexpected_cfgs in proc-macro-test imp
Laurențiu Nicola 2024-01-03
parent 084d912 · commit fd2a7e6
-rw-r--r--crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs b/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs
index 03241b16be..b8aad4acef 100644
--- a/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs
+++ b/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs
@@ -1,5 +1,7 @@
//! Exports a few trivial procedural macros for testing.
+#![allow(unexpected_cfgs)]
+#![cfg(feature = "sysroot-abi")]
#![cfg(any(feature = "sysroot-abi", rust_analyzer))]
#![warn(rust_2018_idioms, unused_lifetimes)]
#![feature(proc_macro_span, proc_macro_def_site)]