mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
![]() 9453: Add first-class limits. r=matklad,lnicola a=rbartlensky Partially fixes #9286. This introduces a new `Limits` structure which is passed as an input to `SourceDatabase`. This makes limits accessible almost everywhere in the code, since most places have a database in scope. One downside of this approach is that whenever you query limits, you essentially do an `Arc::clone` which is less than ideal. Let me know if I missed anything, or would like me to take a different approach! Co-authored-by: Robert Bartlensky <bartlensky.robert@gmail.com> |
||
---|---|---|
.. | ||
call_info | ||
helpers | ||
line_index | ||
traits | ||
apply_change.rs | ||
assists.rs | ||
call_info.rs | ||
defs.rs | ||
helpers.rs | ||
items_locator.rs | ||
label.rs | ||
lib.rs | ||
line_index.rs | ||
path_transform.rs | ||
rename.rs | ||
search.rs | ||
source_change.rs | ||
symbol_index.rs | ||
traits.rs | ||
ty_filter.rs |