rust/crates/hir/src
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
..
semantics Unleash macro 2.0 in hightlight and more 2021-03-27 14:42:49 +08:00
attrs.rs Don't store call-site text offsets in hygiene info 2021-05-06 19:59:54 +02:00
db.rs Add more docs 2021-05-22 16:53:47 +03:00
diagnostics.rs Add more docs 2021-05-22 16:53:47 +03:00
display.rs internal: intern TypeBounds 2021-05-24 15:13:23 +02:00
from_id.rs Remove useless code_model indirection 2021-03-08 22:08:30 +03:00
has_source.rs Return Either from MacroDefId::ast_id 2021-03-19 19:56:13 +01:00
lib.rs Merge #8942 2021-05-25 02:30:47 +00:00
semantics.rs internal: rename hypothetical -> speculative 2021-05-24 22:21:25 +03:00
source_analyzer.rs Merge #8945 2021-05-23 21:55:51 +00:00