rust-analyzer/crates
bors c155ad0695 Auto merge of #17610 - regexident:impl-all_in_module, r=Veykril
Add method `Impl::all_in_module(…)` for allowing more localized querying

This PR is motivated by an [outside use](https://github.com/regexident/cargo-modules) of the `ra_ap_hir` crate that would benefit from being able to more efficiently query for all impls of a given module (instead of having to query for its parent crate's impls and then filtering on `impl_hir.module(db) == module_hir`).

I have the suspicion that the code as is won't quite work for file-level modules, since those don't have a block, afaict, but with all the crate-rename and version shenanigans around the `ra_ap_` release process I haven't yet been able to figure out how to patch a `ra_ap_` dependency from a third-party crate (let alone how to test this from inside of `rust-analyzer`), so haven't been able to actually run and test this. 😔

Any hints on how to make this (i.e. the code itself, as well as the testing) work are more than welcome!
2024-07-24 09:56:56 +00:00
..
base-db Make LRU opt-in 2024-07-19 18:38:08 +02:00
cfg Make CfgExpr slimmer 2024-07-21 14:50:44 +02:00
flycheck feature: move linked_projects discovery to the rust-analyzer server 2024-07-18 12:01:27 -04:00
hir Add method Impl::all_in_module(…) for supporting more localized querying 2024-07-23 14:43:38 +02:00
hir-def internal: Shrink size of Binding 2024-07-22 17:14:17 +02:00
hir-expand LRU body_with_source_map query 2024-07-22 16:34:59 +02:00
hir-ty internal: Shrink size of Binding 2024-07-22 17:14:17 +02:00
ide internal: Shrink size of Binding 2024-07-22 17:14:17 +02:00
ide-assists Auto merge of #17647 - joshka:jm/rename-commands, r=Veykril 2024-07-22 08:10:03 +00:00
ide-completion fix: Allow flyimport to import primitive shadowing modules 2024-07-21 13:26:19 +02:00
ide-db Auto merge of #17670 - Veykril:mem, r=Veykril 2024-07-22 14:48:05 +00:00
ide-diagnostics Auto merge of #17586 - ShoyuVanilla:tuple-arg-macro-rest, r=Veykril 2024-07-22 09:08:12 +00:00
ide-ssr Parse try as a keyword only in edition 2018 and up 2024-07-19 15:43:20 +02:00
intern Support rustc_skip_during_method_dispatch 2024-07-17 11:46:36 +02:00
limit Remove inline rust_2018_idioms, unused_lifetimes lint warn, Cargo.toml already enforces this 2024-06-30 15:23:54 +02:00
load-cargo minor changes 2024-07-23 15:50:12 +02:00
mbe Parse contextual dyn keyword properly in edition 2015 2024-07-19 20:20:30 +02:00
parser Add missing dyn parse special cases in 2015 edition 2024-07-20 09:18:40 +02:00
paths Remove inline rust_2018_idioms, unused_lifetimes lint warn, Cargo.toml already enforces this 2024-06-30 15:23:54 +02:00
proc-macro-api Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
proc-macro-srv Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
proc-macro-srv-cli Abstract proc-macro-srv protocol format 2024-06-30 16:56:30 +02:00
profile Fix stop_watch on linux 2024-07-07 08:40:41 +02:00
project-model Read rust-analyzer.toml files on startup 2024-07-22 02:42:39 +02:00
rust-analyzer Auto merge of #17395 - davidbarsky:david/remove-unindexed-project-notification, r=Veykril 2024-07-23 17:38:41 +00:00
salsa Add back equality check that went missing 2024-07-19 20:39:09 +02:00
span Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
stdx Merge from rust-lang/rust 2024-07-11 20:06:05 +03:00
syntax Auto merge of #17641 - nyurik:optimize-refs, r=Veykril 2024-07-20 06:40:27 +00:00
test-fixture Prefer standard library paths over shorter extern deps re-exports 2024-07-21 09:14:17 +02:00
test-utils fix: Allow flyimport to import primitive shadowing modules 2024-07-21 13:26:19 +02:00
text-edit Remove inline rust_2018_idioms, unused_lifetimes lint warn, Cargo.toml already enforces this 2024-06-30 15:23:54 +02:00
toolchain Remove inline rust_2018_idioms, unused_lifetimes lint warn, Cargo.toml already enforces this 2024-06-30 15:23:54 +02:00
tt Switch token trees to use Symbols 2024-07-16 10:11:59 +02:00
vfs Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
vfs-notify Remove inline rust_2018_idioms, unused_lifetimes lint warn, Cargo.toml already enforces this 2024-06-30 15:23:54 +02:00