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:
Jubilee 2024-08-15 18:44:16 -07:00 committed by GitHub
commit 4fd4da9e23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;