Skip to content

Commit 4068232

Browse files
committed
Auto merge of #17995 - lnicola:sync-from-rust, r=lnicola
minor: sync from downstream
2 parents 40a1a4e + 2c6dc02 commit 4068232

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/hir-ty/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +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-
// Use the crates.io version unconditionally until the API settles enough that we can switch to
19-
// using the in-tree one.
18+
#[cfg(feature = "in-rust-tree")]
19+
extern crate rustc_pattern_analysis;
20+
21+
#[cfg(not(feature = "in-rust-tree"))]
2022
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;
2123

2224
mod builder;

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
80eb5a8e910e5185d47cdefe3732d839c78a5e7e
1+
6cf068db566de080dfa7ed24a216ea3aed2b98ce

0 commit comments

Comments
 (0)