| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -8/+6 | |
| 2020-04-18 | remove build warnings | Tshepang Lekhonkhobe | -0/+2 | |
| Code blocks that are not annotated are assumed to be Rust | ||||
| 2020-04-17 | Improved try_macro_suggestion function | Duddino | -4/+2 | |
| 2020-04-17 | Improved try_macro_suggestion | Duddino | -3/+4 | |
| 2020-04-17 | Moved is_try check into try_macro_suggestion | Duddino | -1/+2 | |
| 2020-04-17 | Account for use of `try!()` in 2018 edition and guide users in the right ↵ | Duddino | -0/+33 | |
| direction | ||||
| 2020-03-30 | Clean up redudant conditions and match exprs | Russell Cohen | -11/+10 | |
| 2020-03-29 | Cleanup match expression | Russell Cohen | -11/+7 | |
| 2020-03-29 | Cleanup error messages, improve docstrings | Russell Cohen | -4/+7 | |
| 2020-03-29 | Improve error messages for raw strings (#60762) | Russell Cohen | -1/+30 | |
| This diff improves error messages around raw strings in a few ways: - Catch extra trailing `#` in the parser. This can't be handled in the lexer because we could be in a macro that actually expects another # (see test) - Refactor & unify error handling in the lexer between ByteStrings and RawByteStrings - Detect potentially intended terminators (longest sequence of "#*" is suggested) | ||||
| 2020-03-25 | review comments | Esteban Küber | -26/+25 | |
| 2020-03-25 | Tweak chained operators diagnostic | Esteban Küber | -46/+98 | |
| Use more selective spans Improve suggestion output Be more selective when displaying suggestions Silence some knock-down type errors | ||||
| 2020-03-18 | detach submod_path from Parser | Mazdak Farrokhzad | -31/+0 | |
| 2020-03-16 | Rollup merge of #69520 - kornelski:e69492, r=cramertj | Dylan DPC | -19/+7 | |
| Make error message clearer about creating new module This is a partial improvement for #69492 | ||||
| 2020-03-09 | rustc_parse: Use `Token::ident` where possible | Vadim Petrochenkov | -5/+7 | |
| 2020-03-07 | Make error message clearer about creating new module | Kornel | -19/+7 | |
| 2020-03-06 | fix various typos | Matthias Krüger | -1/+1 | |
| 2020-03-05 | Const items have by default a static lifetime, there's no need to annotate ↵ | Matthias Krüger | -1/+1 | |
| it. (clippy::redundant_static_lifetimes) | ||||
| 2020-03-01 | Rollup merge of #69579 - petrochenkov:noprevspan, r=Centril | Yuki Okushi | -26/+26 | |
| 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 | -26/+26 | |
| 2020-02-24 | parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token` | Vadim Petrochenkov | -3/+3 | |
| 2020-02-24 | Add some missing support for `NtIdent` | Vadim Petrochenkov | -4/+3 | |
| 2020-02-11 | Invert control in struct_lint_level. | jumbatm | -1/+1 | |
| Caller now passes in a `decorate` function, which is only run if the lint is allowed. | ||||
| 2020-02-09 | Make issue references consistent | Matthias Prechtl | -2/+2 | |
| 2020-02-05 | parser: merge `fn` grammars wrt. bodies & headers | Mazdak Farrokhzad | -41/+0 | |
| also refactor `FnKind` and `visit_assoc_item` visitors | ||||
| 2020-02-05 | parse_ty_common: use `enum`s instead of `bool`s. | Mazdak Farrokhzad | -4/+5 | |
| 2020-02-02 | Rollup merge of #68764 - Centril:self-semantic, r=petrochenkov | Mazdak Farrokhzad | -18/+7 | |
| parser: syntactically allow `self` in all `fn` contexts Part of https://github.com/rust-lang/rust/pull/68728. `self` parameters are now *syntactically* allowed as the first parameter irrespective of item context (and in function pointers). Instead, semantic validation (`ast_validation`) is used. r? @petrochenkov | ||||
| 2020-02-02 | parser: address review comments re. `self`. | Mazdak Farrokhzad | -18/+7 | |
| 2020-02-02 | parser: move restrictions re. `self` to `ast_validation`. | Mazdak Farrokhzad | -6/+6 | |
| 2020-02-01 | syntax::print -> new crate rustc_ast_pretty | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-18 | remove rustc_error_codes deps except in rustc_driver | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-12 | Rollup merge of #68108 - varkor:chained-comparison-suggestions, r=Centril | Mazdak Farrokhzad | -13/+70 | |
| Add suggestions when encountering chained comparisons Ideally, we'd also prevent the type error, which is just extra noise, but that will require moving the error from the parser, and I think the suggestion makes things clear enough for now. Fixes https://github.com/rust-lang/rust/issues/65659. | ||||
| 2020-01-11 | Rollup merge of #68084 - estebank:ice-68000, r=varkor | Mazdak Farrokhzad | -7/+4 | |
| Do not ICE on unicode next point Use `shrink_to_hi` instead of `next_point` and fix `next_point`. Fix #68000, fix #68091, fix #68092. | ||||
| 2020-01-11 | Add suggestions when encountering chained comparisons | varkor | -13/+70 | |
| 2020-01-10 | Change `next_point` when `shrink_to_hi` is more appropriate | Esteban Küber | -7/+4 | |
| 2020-01-10 | Introduce `#![feature(half_open_range_patterns)]`. | Mazdak Farrokhzad | -6/+0 | |
| This feature adds `X..`, `..X`, and `..=X` patterns. | ||||
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -2/+2 | |
| - 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-03 | Rollup merge of #67807 - lzutao:toilet-closure, r=Centril | Yuki Okushi | -2/+2 | |
| Use drop instead of the toilet closure `|_| ()` | ||||
| 2020-01-02 | Use drop instead of the toilet closure `|_| ()` | Lzu Tao | -2/+2 | |
| 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 | -4/+0 | |
| 2019-12-31 | parser::diagnostics: remove fn fatal | Mazdak Farrokhzad | -6/+3 | |
| 2019-12-31 | parser: span_fatal -> struct_span_err | Mazdak Farrokhzad | -5/+1 | |
| 2019-12-31 | de-fatalize some errors | Mazdak Farrokhzad | -4/+0 | |
| 2019-12-31 | parser: call .struct_span_err directly | Mazdak Farrokhzad | -14/+12 | |
| 2019-12-23 | extract parse_not_expr | Mazdak Farrokhzad | -7/+7 | |
| 2019-12-22 | Format the world | Mark Rousskov | -194/+165 | |
| 2019-12-21 | Rollup merge of #67355 - Centril:merge-mut, r=oli-obk | Mazdak Farrokhzad | -1/+1 | |
| Merge `ast::Mutability` and `mir::Mutability` r? @oli-obk | ||||
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -8/+7 | |
