aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0019_enums.txt
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-22 00:27:09 +0000
committerGitHub <[email protected]>2020-02-22 00:27:09 +0000
commitbaf832d6d903afbc39e3a01c752a1aa5218c020e (patch)
treef8d3481c6274e032f166e8c342281216dd24ec0e /crates/ra_syntax/test_data/parser/ok/0019_enums.txt
parentd8b09435357462dccf7f026f568b2cd1dc3ec67a (diff)
parentf1f45f9191d60c52dbedec717aee0de4a0580bcc (diff)
Merge #3262
3262: Fix handling of const patterns r=matklad a=flodiebold E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0019_enums.txt')
0 files changed, 0 insertions, 0 deletions