aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/impl_block.rs
Commit message (Collapse)AuthorAgeFilesLines
* flatten module structureAleksey Kladov2019-01-061-1/+1
|
* split module source into decl/definAleksey Kladov2019-01-061-7/+7
|
* kill old moduleAleksey Kladov2019-01-061-11/+13
|
* Do impl collection per module, not per crateFlorian Diebold2019-01-041-27/+25
|
* Rename ImplBlock::target -> target_type, and add target_trait alreadyFlorian Diebold2019-01-041-5/+15
|
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+172
Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.