rust/crates/ra_analysis
Florian Diebold ae9530addc Add HIR for impl blocks
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.
2019-01-04 19:10:47 +01:00
..
src Add HIR for impl blocks 2019-01-04 19:10:47 +01:00
tests/test parse doc comment for items 2019-01-04 21:29:00 +08:00
Cargo.toml construct index from symbols directly 2019-01-03 21:29:05 +03:00