We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f52f2f9 commit 0ae7373Copy full SHA for 0ae7373
crates/proc-macro-srv/src/lib.rs
@@ -11,11 +11,13 @@
11
//! rustc rather than `unstable`. (Although in general ABI compatibility is still an issue)…
12
13
#![cfg(any(feature = "sysroot-abi", rust_analyzer))]
14
-#![feature(proc_macro_internals, proc_macro_diagnostic, proc_macro_span, rustc_private)]
+#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
15
+#![feature(proc_macro_internals, proc_macro_diagnostic, proc_macro_span)]
16
#![warn(rust_2018_idioms, unused_lifetimes)]
17
#![allow(unreachable_pub, internal_features)]
18
19
extern crate proc_macro;
20
+#[cfg(feature = "in-rust-tree")]
21
extern crate rustc_driver as _;
22
23
mod dylib;
0 commit comments