about summary refs log tree commit diff
path: root/src/librustc_parse/parser/item.rs
AgeCommit message (Expand)AuthorLines
2020-07-01Rollup merge of #73803 - Aaron1011:feature/angle-field-recovery, r=matthewjasperManish Goregaokar-1/+28
2020-07-01Remove `token::FlattenGroup`Vadim Petrochenkov-1/+1
2020-06-27Recover extra trailing angle brackets in struct definitionAaron Hill-1/+28
2020-06-26proc_macro: Stop flattening groups with dummy spansVadim Petrochenkov-1/+1
2020-05-25Only capture tokens for items with outer attributesAaron Hill-5/+16
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-4/+4
2020-05-05Detect errors caused by `async` block in 2015 editionEsteban Küber-1/+1
2020-04-22Rollup merge of #71256 - cuviper:must_use_replace, r=estebankDylan DPC-1/+1
2020-04-18remove build warningsTshepang Lekhonkhobe-2/+2
2020-04-17Fix unused results from mem::replaceJosh Stone-1/+1
2020-04-02Rollup merge of #70421 - Centril:recover-const-async-fn-ptr, r=estebankMazdak Farrokhzad-2/+2
2020-03-26error_bad_item_kind: add help textMazdak Farrokhzad-2/+4
2020-03-26parse: recover on `const fn()` / `async fn()`.Mazdak Farrokhzad-2/+2
2020-03-25Rename `def_span` to `guess_head_span`Esteban Küber-1/+1
2020-03-22Rollup merge of #70209 - Centril:recover-quant-closure, r=petrochenkovDylan DPC-1/+1
2020-03-21recover on `for<'a> |...| body` closures.Mazdak Farrokhzad-1/+1
2020-03-21Rollup merge of #70187 - matthiaskrgr:cl2ppy, r=Mark-SimulacrumMazdak Farrokhzad-4/+4
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-4/+4
2020-03-20can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.Mazdak Farrokhzad-1/+1
2020-03-18fix rebase falloutMazdak Farrokhzad-7/+4
2020-03-18tweak outline module parsing spansMazdak Farrokhzad-1/+1
2020-03-18parse: module parsing -> item.rsMazdak Farrokhzad-5/+64
2020-03-16Other `legacy` -> `macro_rules`Vadim Petrochenkov-1/+1
2020-03-16ast/hir: `MacroDef::legacy` -> `MacroDef::macro_rules`Vadim Petrochenkov-2/+2
2020-03-15Rollup merge of #69589 - petrochenkov:maccall, r=CentrilMazdak Farrokhzad-11/+7
2020-03-12ast: `Mac`/`Macro` -> `MacCall`Vadim Petrochenkov-11/+7
2020-03-12Rollup merge of #69722 - estebank:negative-impl-span-ast, r=CentrilMazdak Farrokhzad-7/+11
2020-03-11Rollup merge of #69760 - Centril:parse-expr-improve, r=estebankMazdak Farrokhzad-20/+24
2020-03-10parse: Tweak the function parameter edition checkVadim Petrochenkov-3/+1
2020-03-10parse_if_expr: recover on attributesMazdak Farrokhzad-2/+1
2020-03-10use check_path moreMazdak Farrokhzad-1/+1
2020-03-10parse: recover on `fn foo() = expr;`Mazdak Farrokhzad-1/+16
2020-03-10parse: simplify parse_fn_bodyMazdak Farrokhzad-17/+7
2020-03-09Address review commentsVadim Petrochenkov-1/+1
2020-03-09Use `Token::uninterpolate` in couple more places matching on `(Nt)Ident`Vadim Petrochenkov-0/+2
2020-03-09rustc_ast: Introduce `Token::uninterpolate`Vadim Petrochenkov-2/+2
2020-03-09rustc_ast: Introduce `Token::uninterpolated_span`Vadim Petrochenkov-1/+1
2020-03-09rustc_parse: Use `Token::ident` where possibleVadim Petrochenkov-11/+8
2020-03-06Auto merge of #69586 - petrochenkov:unmerge, r=Centrilbors-20/+20
2020-03-05review commentsEsteban Küber-7/+11
2020-03-04Tweak output for invalid negative impl AST errorsEsteban Küber-1/+1
2020-03-01ast: Implement `TryFrom<ItemKind>` for associated and foreign itemsVadim Petrochenkov-20/+20
2020-03-01Rollup merge of #69579 - petrochenkov:noprevspan, r=CentrilYuki Okushi-29/+32
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-9/+13
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-9/+13
2020-02-29rustc_parse: Tweak the function parameter name checkVadim Petrochenkov-3/+4
2020-02-29parser: Remove `Parser::prev_span`Vadim Petrochenkov-1/+1
2020-02-29parser: `prev_span` -> `prev_token.span`Vadim Petrochenkov-28/+31
2020-02-28Rollup merge of #69384 - petrochenkov:nounnorm, r=CentrilMazdak Farrokhzad-8/+6
2020-02-26Rollup merge of #69423 - petrochenkov:nont, r=CentrilDylan DPC-8/+0