mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Depend on rustc_driver
This commit is contained in:
parent
b6951defa6
commit
d45ff2484f
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
//! Based on cli flags, either spawns an LSP server, or runs a batch analysis
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
|
||||
#[cfg(feature = "in-rust-tree")]
|
||||
#[allow(unused_extern_crates)]
|
||||
extern crate rustc_driver;
|
||||
|
||||
mod logger;
|
||||
mod rustc_wrapper;
|
||||
|
|
Loading…
Reference in a new issue