| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-31 | Rollup merge of #67744 - Centril:reduce-diversity, r=petrochenkov | Mazdak Farrokhzad | -134/+125 | |
| parser: reduce diversity in error handling mechanisms Instead of having e.g. `span_err`, `fatal`, etc., we prefer to move towards uniformly using `struct_span_err` thus making it harder to emit fatal and/or unstructured diagnostics. This PR also de-fatalizes some diagnostics. r? @estebank | ||||
| 2019-12-31 | parser: bug -> span_bug | Mazdak Farrokhzad | -7/+6 | |
| 2019-12-31 | parser::diagnostics: remove fn fatal | Mazdak Farrokhzad | -6/+3 | |
| 2019-12-31 | parser::pat: remove .fatal calls | Mazdak Farrokhzad | -11/+15 | |
| 2019-12-31 | parser::path: remove .fatal calls | Mazdak Farrokhzad | -10/+15 | |
| 2019-12-31 | parser::module: remove .fatal calls | Mazdak Farrokhzad | -1/+2 | |
| 2019-12-31 | parser::item: remove .fatal calls | Mazdak Farrokhzad | -8/+7 | |
| 2019-12-31 | parser::attr: remove .fatal calls | Mazdak Farrokhzad | -2/+4 | |
| 2019-12-31 | process_potential_macro_variable: de-fatalize an error | Mazdak Farrokhzad | -2/+1 | |
| 2019-12-31 | parser: span_fatal -> struct_span_err | Mazdak Farrokhzad | -12/+8 | |
| 2019-12-31 | de-fatalize some errors | Mazdak Farrokhzad | -8/+9 | |
| 2019-12-31 | parser: call .struct_span_err directly | Mazdak Farrokhzad | -68/+56 | |
| 2019-12-31 | Inline and remove `nfc_symbol_from` method. | Charles Lew | -8/+1 | |
| 2019-12-31 | Add symbol normalization for proc_macro_server. | Charles Lew | -8/+12 | |
| 2019-12-30 | Rename `libsyntax_ext` and `libsyntax_expand` in code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-30 | Make things build again | Vadim Petrochenkov | -1/+1 | |
| 2019-12-29 | Auto merge of #67112 - Centril:expr-polish, r=estebank | bors | -481/+497 | |
| Refactor expression parsing thoroughly Based on https://github.com/rust-lang/rust/pull/66994 together with which this has refactored basically the entirety of `expr.rs`. r? @estebank | ||||
| 2019-12-28 | doc comments: Less attribute mimicking | Vadim Petrochenkov | -23/+20 | |
| 2019-12-26 | Normalize identifiers in librustc_parse. | Charles Lew | -2/+16 | |
| 2019-12-23 | Auto merge of #66296 - Centril:bindings_after_at-init, r=pnkfelix | bors | -0/+1 | |
| Initial implementation of `#![feature(bindings_after_at)]` Following up on #16053, under the gate `#![feature(bindings_after_at)]`, `x @ Some(y)` is allowed subject to restrictions necessary for soundness. The implementation and test suite should be fairly complete now. One aspect that is not covered is the interaction with nested `#![feature(or_patterns)]`. This is not possible to test at the moment in a good way because that feature has not progressed sufficiently and has fatal errors in MIR building. We should make sure to add such tests before we stabilize both features (but shipping one of them is fine). r? @pnkfelix cc @nikomatsakis @matthewjasper @pcwalton cc https://github.com/rust-lang/rust/issues/65490 | ||||
| 2019-12-23 | Introduce `#![feature(bindings_after_at)]`. | Mazdak Farrokhzad | -0/+1 | |
| Under the gate, `x @ Some(y)` is allowed. This is subject to various restrictions for soundness. | ||||
| 2019-12-23 | fix rebase fallout | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-23 | refactor assoc op parsing | Mazdak Farrokhzad | -20/+31 | |
| 2019-12-23 | simplify parse_prefix_range_expr | Mazdak Farrokhzad | -18/+13 | |
| 2019-12-23 | extract parse_not_expr | Mazdak Farrokhzad | -95/+73 | |
| 2019-12-23 | extract parse_prefix_expr | Mazdak Farrokhzad | -16/+17 | |
| 2019-12-23 | extract parse_neg_expr | Mazdak Farrokhzad | -6/+9 | |
| 2019-12-23 | extract parse_deref_expr | Mazdak Farrokhzad | -10/+13 | |
| 2019-12-23 | extract is_mistaken_not_ident_negation | Mazdak Farrokhzad | -23/+24 | |
| 2019-12-23 | extract recover_not_expr | Mazdak Farrokhzad | -26/+27 | |
| 2019-12-23 | simplify parse_assoc_op_cast | Mazdak Farrokhzad | -8/+1 | |
| 2019-12-23 | refactor parse_address_of -> parse_borrow_expr | Mazdak Farrokhzad | -7/+14 | |
| 2019-12-23 | simplify parse_dot_call_or_expr | Mazdak Farrokhzad | -9/+5 | |
| 2019-12-23 | extract parse_dot_base_expr | Mazdak Farrokhzad | -13/+10 | |
| 2019-12-23 | extract parse_dot_suffix_expr | Mazdak Farrokhzad | -18/+27 | |
| 2019-12-23 | extract error_unexpected_after_dot and de-fatalize | Mazdak Farrokhzad | -5/+7 | |
| 2019-12-23 | extract recover_field_access_by_float_lit | Mazdak Farrokhzad | -26/+37 | |
| 2019-12-23 | extract parse_tuple_field_access_expr | Mazdak Farrokhzad | -7/+16 | |
| 2019-12-23 | extract parse_fn_call_expr | Mazdak Farrokhzad | -9/+9 | |
| 2019-12-23 | extract parse_index_expr & refactor parse_dot_suffix | Mazdak Farrokhzad | -28/+22 | |
| 2019-12-23 | extract error_float_lits-must_have_int_part | Mazdak Farrokhzad | -8/+12 | |
| 2019-12-23 | simplify parse_literal_maybe_minus | Mazdak Farrokhzad | -8/+4 | |
| 2019-12-23 | simplify parse_fn_block_decl | Mazdak Farrokhzad | -17/+15 | |
| 2019-12-23 | refactor parse_fn_block_param | Mazdak Farrokhzad | -5/+4 | |
| 2019-12-23 | refactor parse_if_expr | Mazdak Farrokhzad | -8/+2 | |
| 2019-12-23 | more recovery in if-parsing | Mazdak Farrokhzad | -19/+30 | |
| 2019-12-23 | refactor loop parsing a bit | Mazdak Farrokhzad | -29/+26 | |
| 2019-12-23 | make parse_async_block conventional | Mazdak Farrokhzad | -9/+6 | |
| 2019-12-23 | extract is_certainly_not_a_block | Mazdak Farrokhzad | -16/+16 | |
| 2019-12-23 | extract error_struct_lit_not_allowed_here | Mazdak Farrokhzad | -10/+11 | |
