bors[bot] baf832d6d9
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 <florian.diebold@freiheit.com>
2020-02-22 00:27:09 +00:00
..
2020-02-19 12:44:54 +01:00
2020-02-18 16:12:40 +02:00
2020-02-18 16:12:40 +02:00
2020-02-18 16:12:40 +02:00
2020-02-18 16:12:40 +02:00
2020-02-21 17:01:19 +01:00
2020-02-18 16:12:40 +02:00
2020-02-21 17:01:19 +01:00
2020-02-21 23:51:30 +01:00
2020-02-19 13:36:59 +09:00
2020-02-18 16:12:37 +02:00
2020-02-19 16:28:25 +01:00
2020-02-18 16:12:40 +02:00
2020-02-18 16:12:40 +02:00
2020-02-18 16:12:40 +02:00
2020-02-21 18:33:45 +08:00
2020-02-18 16:12:40 +02:00