rust/crates/ra_parser/src/grammar
bors[bot] 1cd18f9237 Merge #991
991: Use Marker argument for item parsers r=matklad a=pcpthm

Before doing this for expressions, I found that the pattern (Marker argument) should be applied to the item parsers because visiblity and modifiers are parsed in a separate function.

Fixed some parser bugs:
- Fix pub_expr: `pub 42;` was allowed.
- Fix incorrect parsing of crate::path: incorrectly parsed as `crate` as a visibility.

Co-authored-by: pcpthm <pcpthm@gmail.com>
2019-03-18 09:32:28 +00:00
..
expressions Fix parse tree of attribute on match arm 2019-03-17 20:57:27 +09:00
items Use Marker argument for item parsers 2019-03-18 14:34:08 +09:00
attributes.rs
expressions.rs Merge #991 2019-03-18 09:32:28 +00:00
items.rs Use Marker argument for item parsers 2019-03-18 14:34:08 +09:00
params.rs allow mut ident patterns in trait methods 2019-03-04 17:47:02 +03:00
paths.rs
patterns.rs Allow MINUS at the start of a pattern. 2019-03-14 19:24:11 +10:30
type_args.rs
type_params.rs
types.rs