We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16f453e + bb84372 commit e7ebf6fCopy full SHA for e7ebf6f
src/tools/rust-analyzer/crates/hir-ty/src/lib.rs
@@ -15,8 +15,10 @@ extern crate rustc_abi;
15
#[cfg(not(feature = "in-rust-tree"))]
16
extern crate ra_ap_rustc_abi as rustc_abi;
17
18
-// Use the crates.io version unconditionally until the API settles enough that we can switch to
19
-// using the in-tree one.
+#[cfg(feature = "in-rust-tree")]
+extern crate rustc_pattern_analysis;
20
+
21
+#[cfg(not(feature = "in-rust-tree"))]
22
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
23
24
mod builder;
0 commit comments