We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb051e4 commit f8982beCopy full SHA for f8982be
src/tools/rust-analyzer/crates/proc-macro-srv-cli/src/main.rs
@@ -1,5 +1,8 @@
1
//! A standalone binary for `proc-macro-srv`.
2
//! Driver for proc macro server
3
+#[cfg(feature = "in-rust-tree")]
4
+extern crate rustc_driver as _;
5
+
6
use std::io;
7
8
fn main() -> std::io::Result<()> {
src/tools/rust-analyzer/crates/rust-analyzer/src/bin/main.rs
@@ -5,8 +5,7 @@
#![warn(rust_2018_idioms, unused_lifetimes)]
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
#[cfg(feature = "in-rust-tree")]
-#[allow(unused_extern_crates)]
9
-extern crate rustc_driver;
10
11
mod logger;
12
mod rustc_wrapper;
0 commit comments