mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-16 07:03:57 +00:00
Rollup merge of #128922 - Nadrieril:r-a-use-upstream-pat-ana, r=Veykril
rust-analyzer: use in-tree `pattern_analysis` crate r? ```@Veykril```
This commit is contained in:
commit
4bdabfb1af
1 changed files with 4 additions and 2 deletions
|
@ -15,8 +15,10 @@ extern crate rustc_abi;
|
||||||
#[cfg(not(feature = "in-rust-tree"))]
|
#[cfg(not(feature = "in-rust-tree"))]
|
||||||
extern crate ra_ap_rustc_abi as rustc_abi;
|
extern crate ra_ap_rustc_abi as rustc_abi;
|
||||||
|
|
||||||
// Use the crates.io version unconditionally until the API settles enough that we can switch to
|
#[cfg(feature = "in-rust-tree")]
|
||||||
// using the in-tree one.
|
extern crate rustc_pattern_analysis;
|
||||||
|
|
||||||
|
#[cfg(not(feature = "in-rust-tree"))]
|
||||||
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
|
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
|
||||||
|
|
||||||
mod builder;
|
mod builder;
|
||||||
|
|
Loading…
Reference in a new issue