about summary refs log tree commit diff
path: root/src/librustc_parse/parser/item.rs
AgeCommit message (Expand)AuthorLines
2020-02-13parser: address review commentsMazdak Farrokhzad-1/+1
2020-02-13parser: move `ban_async_in_2015` to `fn` parsing & improve it.Mazdak Farrokhzad-0/+12
2020-02-13parser: inline `parse_assoc_fn` and friends.Mazdak Farrokhzad-42/+21
2020-02-13parser: solidify `fn` parsing with `parse_fn`.Mazdak Farrokhzad-23/+30
2020-02-13parser: fuse free `fn` parsing together.Mazdak Farrokhzad-86/+25
2020-02-13parser_fn_front_matter: allow `const .. extern`Mazdak Farrokhzad-53/+52
2020-02-13IsAsync -> enum Async { Yes { span: Span, .. }, No }Mazdak Farrokhzad-35/+9
2020-02-13Constness -> enum Const { Yes(Span), No }Mazdak Farrokhzad-43/+34
2020-02-05parser: merge `fn` grammars wrt. bodies & headersMazdak Farrokhzad-66/+49
2020-02-05parse_ty_common: use `enum`s instead of `bool`s.Mazdak Farrokhzad-3/+4
2020-02-02Rollup merge of #68769 - Centril:unwrap, r=petrochenkovMazdak Farrokhzad-4/+3
2020-02-02Rollup merge of #68764 - Centril:self-semantic, r=petrochenkovMazdak Farrokhzad-42/+22
2020-02-02parser: avoid re-wrapping NtItemMazdak Farrokhzad-4/+3
2020-02-02parser: address review comments re. `self`.Mazdak Farrokhzad-19/+7
2020-02-02parser: move restrictions re. `self` to `ast_validation`.Mazdak Farrokhzad-34/+26
2020-02-01syntax::print -> new crate rustc_ast_prettyMazdak Farrokhzad-1/+1
2020-01-31Auto merge of #68633 - JohnTitor:avoid-ice-in-diagnostics, r=estebankbors-17/+23
2020-01-30Change Applicability to `HasPlaceholders`Yuki Okushi-1/+1
2020-01-30Use `P` for `NtTraitItem`, `NtImplItem`, and `NtForeignItem`.Nicholas Nethercote-17/+17
2020-01-29Avoid ICE in macro's diagnosticsYuki Okushi-17/+23
2020-01-21Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obkMazdak Farrokhzad-12/+6
2020-01-19Store `impl const` in `ItemKind::Impl`Dylan MacKenzie-12/+4
2020-01-19Add `constness` field to `ast::ItemKind::Impl`Dylan MacKenzie-0/+2
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-1/+0
2020-01-17Use named fields for `ast::ItemKind::Impl`Dylan MacKenzie-10/+10
2020-01-11Rollup merge of #68084 - estebank:ice-68000, r=varkorMazdak Farrokhzad-3/+3
2020-01-10Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-2/+2
2020-01-09Do not ICE on unicode next pointEsteban Küber-1/+1
2020-01-10Rollup merge of #68073 - Centril:fix-68062, r=estebankMazdak Farrokhzad-1/+1
2020-01-10Rollup merge of #68071 - estebank:ice-67995, r=CentrilMazdak Farrokhzad-1/+5
2020-01-09Reject `const` in inherent implsDylan MacKenzie-3/+12
2020-01-09Parse `impl const Trait for Ty` syntaxDylan MacKenzie-3/+11
2020-01-09Extend support of `_` in type parametersEsteban Küber-1/+5
2020-01-09expect `fn` after `const unsafe` / `const extern`Mazdak Farrokhzad-1/+1
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-2/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-3/+3
2019-12-31parser::item: remove .fatal callsMazdak Farrokhzad-8/+7
2019-12-31parser: span_fatal -> struct_span_errMazdak Farrokhzad-3/+1
2019-12-31de-fatalize some errorsMazdak Farrokhzad-1/+1
2019-12-31parser: call .struct_span_err directlyMazdak Farrokhzad-12/+8
2019-12-23extract parse_not_exprMazdak Farrokhzad-4/+4
2019-12-22Format the worldMark Rousskov-288/+262
2019-12-22Rollup merge of #67148 - Centril:ty-polish, r=estebankMazdak Farrokhzad-5/+2
2019-12-21extract parse_array_or_slice_tyMazdak Farrokhzad-5/+2
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-10/+10
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-4/+3
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-10/+10
2019-12-12`AssocImplKind::{Method -> Fn}`.Mazdak Farrokhzad-1/+1
2019-12-12More c-variadic errors as semantic restrictions.Mazdak Farrokhzad-45/+10
2019-12-12Move `allow_c_varadic` logic to `ast_validation`.Mazdak Farrokhzad-14/+2