Skip to content

Commit a8f2484

Browse files
committed
Allow unexpected_cfgs in proc-macro-test imp
1 parent f0108b9 commit a8f2484

File tree

1 file changed

+2
-0
lines changed
  • src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/imp/src

1 file changed

+2
-0
lines changed

src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! Exports a few trivial procedural macros for testing.
22
3+
#![allow(unexpected_cfgs)]
4+
#![cfg(feature = "sysroot-abi")]
35
#![cfg(any(feature = "sysroot-abi", rust_analyzer))]
46
#![warn(rust_2018_idioms, unused_lifetimes)]
57
#![feature(proc_macro_span, proc_macro_def_site)]

0 commit comments

Comments
 (0)