about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2021-01-22Refactor token collection to capture trailing token immediatelyAaron Hill-2/+2
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-41/+46
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-13/+1
2021-01-08Add a note for `*` and `{}` usage on `use`Yuki Okushi-1/+16
2020-12-31Consistently call editions "Rust 20xx" in messages.Mara Bos-1/+1
2020-12-31Add edition 2021.Mara Bos-3/+3
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-3/+3
2020-12-19Auto merge of #77035 - mibac138:fn-fat-arrow-return, r=davidtwcobors-3/+4
2020-12-12Recover on `const impl<> X for Y`Noah-3/+38
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-3/+4
2020-12-01Gracefully handle mistyping -> as => in function return typemibac138-2/+2
2020-11-02Use reparsed `TokenStream` if we captured any inner attributesAaron Hill-24/+9
2020-10-30Fix even more clippy warningsJoshua Nelson-18/+13
2020-10-29Revert invalid `fn` return type parsing changeEsteban Küber-13/+4
2020-10-28Rollup merge of #78379 - estebank:fn-signature-parse, r=varkorDylan DPC-9/+32
2020-10-25Tweak invalid `fn` header and body parsingEsteban Küber-8/+30
2020-10-25Rely on regular "expected"/"found" parser error for `fn`Esteban Küber-4/+5
2020-10-22Don't create an empty `LazyTokenStream`Aaron Hill-1/+1
2020-10-19Rewrite `collect_tokens` implementations to use a flattened bufferAaron Hill-2/+3
2020-10-15fix off-by-one in parameter spansAndy Russell-1/+1
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-3/+3
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-1/+1
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-2/+7
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-16/+51
2020-08-30mv compiler to compiler/mark-0/+1843