Skip to content

Commit 8d59aaf

Browse files
committed
Use in-tree rustc_pattern_analysis
1 parent b99618c commit 8d59aaf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/hir-ty/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ extern crate rustc_abi;
1515
#[cfg(not(feature = "in-rust-tree"))]
1616
extern crate ra_ap_rustc_abi as rustc_abi;
1717

18-
// No need to use the in-tree one.
18+
#[cfg(feature = "in-rust-tree")]
19+
extern crate rustc_pattern_analysis;
20+
21+
#[cfg(not(feature = "in-rust-tree"))]
1922
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
2023

2124
mod builder;

0 commit comments

Comments
 (0)