Skip to content

Commit

Permalink
Auto merge of #17995 - lnicola:sync-from-rust, r=lnicola
Browse files Browse the repository at this point in the history
minor: sync from downstream
  • Loading branch information
bors committed Aug 29, 2024
2 parents 40a1a4e + 2c6dc02 commit 4068232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions crates/hir-ty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ extern crate rustc_abi;
#[cfg(not(feature = "in-rust-tree"))]
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
// using the in-tree one.
#[cfg(feature = "in-rust-tree")]
extern crate rustc_pattern_analysis;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;

mod builder;
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
80eb5a8e910e5185d47cdefe3732d839c78a5e7e
6cf068db566de080dfa7ed24a216ea3aed2b98ce

0 comments on commit 4068232

Please sign in to comment.