aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/validation.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-22 15:37:45 +0100
committerGitHub <[email protected]>2020-06-22 15:37:45 +0100
commit87615166af84a4822adc4686fd9ee44fafa51f53 (patch)
tree91494d99d4805fca96815079b8dd29d9d649beea /crates/ra_syntax/src/validation.rs
parent5a0331e5575034a145956f76316ee0fcdf72077e (diff)
parentbdf7e70820243812dd27d96c38fb6d5db359c2f1 (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_syntax/src/validation.rs')
0 files changed, 0 insertions, 0 deletions