diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-22 15:37:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-22 15:37:45 +0100 |
commit | 87615166af84a4822adc4686fd9ee44fafa51f53 (patch) | |
tree | 91494d99d4805fca96815079b8dd29d9d649beea /crates/ra_db | |
parent | 5a0331e5575034a145956f76316ee0fcdf72077e (diff) | |
parent | bdf7e70820243812dd27d96c38fb6d5db359c2f1 (diff) |
Merge #4900
4900: Self variant enum res fix r=BGluth a=BGluth
Fixes #4789.
This is my first PR for this project, so it's probably worth giving it an extra close look.
A few things that I wasn't sure about:
- Is `resolve_path` really the best place to perform this check? It seemed like a natural place, but perhaps there's a better place?
- When handling the new variant `PathResolution::VariantDef`, I couldn't see an obvious variant of `TypeNs` to return in `in_type_ns` for Unions and Structs.
Co-authored-by: BGluth <[email protected]>
Diffstat (limited to 'crates/ra_db')
0 files changed, 0 insertions, 0 deletions