rust-analyzer/crates/hir
bors[bot] 8b049ec393
Merge #8942
8942: Add `library` semantic token modifier to items from other crates r=arzg a=arzg

Closes #5772.

A lot of code here is pretty repetitive; please let me know if you have any ideas how to improve it, or whether it’s fine as-is.

Side-note: How can I add tests for this? I don’t see a way for the test Rust code in `test_highlighting` to reference other crates to observe the new behaviour.


Co-authored-by: Aramis Razzaghipour <aramisnoah@gmail.com>
2021-05-25 02:30:47 +00:00
..
src Merge #8942 2021-05-25 02:30:47 +00:00
Cargo.toml internal: expose cfg attrs from hir::Crate 2021-05-07 23:50:24 +03:00