rust-analyzer/crates/ra_parser/src/grammar
Dylan MacKenzie c08ad1cf8a Handle Struct { box i } syntax
Named structs can have `box` patterns that will bind to their fields.
This is similar to the behavior of the `ref` and `mut` fields, but is at
least a little bit surprising.
2019-08-23 16:20:18 -07:00
..
expressions Centralize box pattern tests in patterns.rs 2019-08-23 16:19:53 -07:00
items rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
attributes.rs apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
expressions.rs rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
items.rs rename struct -> record, pos -> tuple 2019-08-23 16:59:50 +03:00
params.rs Fix parser tests according to review 2019-08-08 09:12:07 +07:00
paths.rs Fix is_path_start to accept T![<], fix is_path_start usages 2019-08-13 22:36:01 +07:00
patterns.rs Handle Struct { box i } syntax 2019-08-23 16:20:18 -07:00
type_args.rs Move numeric names inside of NameRef 2019-08-09 12:16:47 +02:00
type_params.rs Fix is_path_start to accept T![<], fix is_path_start usages 2019-08-13 22:36:01 +07:00
types.rs Fix is_path_start to accept T![<], fix is_path_start usages 2019-08-13 22:36:01 +07:00