about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2023-12-25 11:08:25 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2024-01-03 11:36:05 +0200
commitd3d7c4b722a24189b5c4379f326efd5de139334c (patch)
treeb74e5262045276c8e9ae4cd2c0609afd263df742
parent932d85b52946d917deab2c23ead552f7f713b828 (diff)
downloadrust-d3d7c4b722a24189b5c4379f326efd5de139334c.tar.gz
rust-d3d7c4b722a24189b5c4379f326efd5de139334c.zip
Allow unexpected_cfgs in proc-macro-test imp
-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 03241b16be6..b8aad4acefc 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)]