| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -631/+0 | |
| 2020-08-17 | rust_ast::ast => rustc_ast | Ujjwal Sharma | -3/+3 | |
| 2020-08-02 | Introduce NonterminalKind | Aleksey Kladov | -2/+2 | |
| It encapsulate the (part of) the interface between the parser and macro by example (macro_rules) parser. The second bit is somewhat more general `parse_ast_fragment`, which is the reason why we keep some `parse_xxx` functions as public. | ||||
| 2020-03-26 | parse: recover on `const fn()` / `async fn()`. | Mazdak Farrokhzad | -16/+28 | |
| 2020-03-12 | ast: `Mac`/`Macro` -> `MacCall` | Vadim Petrochenkov | -5/+3 | |
| 2020-03-10 | trait-object-lifetime-parens: improve recovery. | Mazdak Farrokhzad | -6/+11 | |
| 2020-03-10 | use check_path more | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-10 | simplify & improve parse_ty_tuple_or_parens | Mazdak Farrokhzad | -19/+18 | |
| 2020-03-09 | rustc_ast: Introduce `Token::uninterpolated_span` | Vadim Petrochenkov | -1/+1 | |
| 2020-03-03 | Use .next() instead of .nth(0) on iterators. | Matthias Krüger | -1/+1 | |
| 2020-03-01 | Rollup merge of #69579 - petrochenkov:noprevspan, r=Centril | Yuki Okushi | -15/+15 | |
| parser: Remove `Parser::prev_span` Follow-up to https://github.com/rust-lang/rust/pull/69384. r? @Centril | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -7/+7 | |
| 2020-02-29 | parser: `prev_span` -> `prev_token.span` | Vadim Petrochenkov | -15/+15 | |
| 2020-02-24 | parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token` | Vadim Petrochenkov | -4/+3 | |
| 2020-02-17 | Rename `FunctionRetTy` to `FnRetTy` | Yuki Okushi | -6/+4 | |
| 2020-02-13 | parser: simplify ParamCfg -> ReqName | Mazdak Farrokhzad | -3/+1 | |
| 2020-02-12 | Rollup merge of #69034 - petrochenkov:notokind, r=Centril | Dylan DPC | -5/+5 | |
| parser: Remove `Parser::prev_token_kind` Follow-up to https://github.com/rust-lang/rust/pull/69006. r? @Centril | ||||
| 2020-02-10 | parser: Remove `Parser::prev_token_kind` | Vadim Petrochenkov | -5/+5 | |
| 2020-02-09 | [parser] change an instance of span_bug() to struct_span_err() to avoid ICE | David Renshaw | -1/+4 | |
| 2020-02-05 | parser: merge `fn` grammars wrt. bodies & headers | Mazdak Farrokhzad | -7/+9 | |
| also refactor `FnKind` and `visit_assoc_item` visitors | ||||
| 2020-02-05 | parse_ty_common: use `enum`s instead of `bool`s. | Mazdak Farrokhzad | -20/+39 | |
| 2020-02-02 | parser: address review comments re. `self`. | Mazdak Farrokhzad | -2/+1 | |
| 2020-02-02 | parser: move restrictions re. `self` to `ast_validation`. | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-21 | Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obk | Mazdak Farrokhzad | -8/+10 | |
| Implement `?const` opt-out for trait bounds For now, such bounds are treated exactly the same as unprefixed ones in all contexts. [RFC 2632](https://github.com/rust-lang/rfcs/pull/2632) does not specify whether such bounds are forbidden outside of `const` contexts, so they are allowed at the moment. Prior to this PR, the constness of a trait bound/impl was stored in `TraitRef`. Now, the constness of an `impl` is stored in `ast::ItemKind::Impl` and the constness of a bound in `ast::TraitBoundModifer`. Additionally, constness of trait bounds is now stored in an additional field of `ty::Predicate::Trait`, and the combination of the constness of the item along with any `TraitBoundModifier` determines the constness of the bound in accordance with the RFC. Encoding the constness of impls at the `ty` level is left for a later PR. After a discussion in \#wg-grammar on Discord, it was decided that the grammar should not encode the mutual exclusivity of trait bound modifiers. The grammar for trait bound modifiers remains `[?const] [?]`. To encode this, I add a dummy variant to `ast::TraitBoundModifier` that is used when the syntax `?const ?` appears. This variant causes an error in AST validation and disappears during HIR lowering. cc #67794 r? @oli-obk | ||||
| 2020-01-20 | Parse `?const ?Trait` | Dylan MacKenzie | -18/+5 | |
| 2020-01-20 | Add `MaybeConst` variant to `{ast,hir}::TraitBoundModifier` | Dylan MacKenzie | -9/+24 | |
| 2020-01-18 | remove rustc_error_codes deps except in rustc_driver | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-15 | remove redundant clones, found by clippy | Matthias Krüger | -1/+1 | |
| 2020-01-09 | Parse `?const Trait` bound syntax | Dylan MacKenzie | -14/+77 | |
| The grammar also handles `?const ?Trait` even though this is semantically redundant. | ||||
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -2/+1 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -2/+2 | |
| 2019-12-31 | parser: bug -> span_bug | Mazdak Farrokhzad | -1/+3 | |
| 2019-12-23 | extract parse_not_expr | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -36/+25 | |
| 2019-12-22 | Rollup merge of #67148 - Centril:ty-polish, r=estebank | Mazdak Farrokhzad | -240/+307 | |
| Refactor type & bounds parsing thoroughly PR is based on https://github.com/rust-lang/rust/pull/67131 with first one from this PR being ` extract parse_ty_tuple_or_parens`. Also fixes #67146. r? @estebank | ||||
| 2019-12-21 | span_suggestion_hidden -> tool_only_span_suggestion | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-21 | unwrap -> expect | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-21 | parse_ty_bare_fn: improve docs | Mazdak Farrokhzad | -13/+8 | |
| 2019-12-21 | document parse_late_bound_lifetime_defs | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-21 | extract error_negative_bounds | Mazdak Farrokhzad | -27/+35 | |
| 2019-12-21 | parse_generic_bounds: account for negative lifetime bounds | Mazdak Farrokhzad | -19/+16 | |
| 2019-12-21 | simplify 'let question = ...;' | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-21 | simplify negative bound diagnostic | Mazdak Farrokhzad | -21/+8 | |
| 2019-12-21 | extract parse_generic_lt_bound | Mazdak Farrokhzad | -10/+22 | |
| 2019-12-21 | extract parse_generic_ty_bound | Mazdak Farrokhzad | -15/+24 | |
| 2019-12-21 | parse_generic_bound: leave a FIXME | Mazdak Farrokhzad | -0/+2 | |
| 2019-12-21 | functionalize parse_generic_bound | Mazdak Farrokhzad | -18/+14 | |
| 2019-12-21 | extract parse_generic_bound | Mazdak Farrokhzad | -40/+61 | |
| 2019-12-21 | extract can_begin_bound | Mazdak Farrokhzad | -13/+12 | |
| 2019-12-21 | parse_generic_bounds_common: dedent | Mazdak Farrokhzad | -32/+32 | |
