rust-analyzer/crates/ra_assists/src
bors[bot] 12d82687cd
Merge #4273
4273: Trigger add_vis assist on paths/record fields as well r=flodiebold a=TimoFreiberg

Resolves #4037.

- [x] Function defs
- [x] ADT defs
- [x] Enum variants
- [x] Consts
- [x] Statics
- [x] Traits
- [x] Type aliases
- [x] Modules
- [x] Record fields (using different implementation)
    - [x] struct fields
    - [x] enum variant fields
    -   union fields (`Semantics::resolve_record_field` seems to not work for union fields, so I think this can be handled in a future PR)
- [x] More tests? 
- [x] Improve test fixture code and documentation a bit (see [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/resolve_path.20between.20fixture.20files))

Co-authored-by: Timo Freiberg <timo.freiberg@gmail.com>
2020-05-14 14:29:22 +00:00
..
handlers Merge #4273 2020-05-14 14:29:22 +00:00
tests add Ok wrapping 2020-05-06 17:45:55 +02:00
utils Refactor assists API to be more convenient for adding new assists 2020-05-07 16:27:54 +02:00
assist_context.rs Fix visibility 2020-05-09 13:59:25 +02:00
ast_transform.rs Fix formatting 2020-05-14 10:31:34 +03:00
lib.rs Nicer API 2020-05-07 17:29:23 +02:00
marks.rs More principled approach for finding From trait 2020-04-29 14:51:44 +02:00
tests.rs Nicer API 2020-05-07 17:29:23 +02:00
utils.rs add if let and while let postfix for Option and Result 2020-05-10 12:45:35 +02:00