Skip to content

Commit

Permalink
Depend on rustc_driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Nov 14, 2023
1 parent c2c065c commit 6ad73f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/rust-analyzer/crates/rust-analyzer/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ad73f5

Please sign in to comment.