summary refs log tree commit diff
path: root/src/librustc_parse/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2020-03-09rustc_parse: Use `Token::ident` where possibleVadim Petrochenkov-5/+7
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-05Const items have by default a static lifetime, there's no need to annotate it...Matthias Krüger-1/+1
2020-03-01Rollup merge of #69579 - petrochenkov:noprevspan, r=CentrilYuki Okushi-26/+26
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-7/+7
2020-02-29parser: `prev_span` -> `prev_token.span`Vadim Petrochenkov-26/+26
2020-02-24parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`Vadim Petrochenkov-3/+3
2020-02-24Add some missing support for `NtIdent`Vadim Petrochenkov-4/+3
2020-02-11Invert control in struct_lint_level.jumbatm-1/+1
2020-02-09Make issue references consistentMatthias Prechtl-2/+2
2020-02-05parser: merge `fn` grammars wrt. bodies & headersMazdak Farrokhzad-41/+0
2020-02-05parse_ty_common: use `enum`s instead of `bool`s.Mazdak Farrokhzad-4/+5
2020-02-02Rollup merge of #68764 - Centril:self-semantic, r=petrochenkovMazdak Farrokhzad-18/+7
2020-02-02parser: address review comments re. `self`.Mazdak Farrokhzad-18/+7
2020-02-02parser: move restrictions re. `self` to `ast_validation`.Mazdak Farrokhzad-6/+6
2020-02-01syntax::print -> new crate rustc_ast_prettyMazdak Farrokhzad-1/+1
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-1/+0
2020-01-12Rollup merge of #68108 - varkor:chained-comparison-suggestions, r=CentrilMazdak Farrokhzad-13/+70
2020-01-11Rollup merge of #68084 - estebank:ice-68000, r=varkorMazdak Farrokhzad-7/+4
2020-01-11Add suggestions when encountering chained comparisonsvarkor-13/+70
2020-01-10Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-7/+4
2020-01-10Introduce `#![feature(half_open_range_patterns)]`.Mazdak Farrokhzad-6/+0
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-2/+2
2020-01-03Rollup merge of #67807 - lzutao:toilet-closure, r=CentrilYuki Okushi-2/+2
2020-01-02Use drop instead of the toilet closure `|_| ()`Lzu Tao-2/+2
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-2/+2
2019-12-31parser: bug -> span_bugMazdak Farrokhzad-4/+0
2019-12-31parser::diagnostics: remove fn fatalMazdak Farrokhzad-6/+3
2019-12-31parser: span_fatal -> struct_span_errMazdak Farrokhzad-5/+1
2019-12-31de-fatalize some errorsMazdak Farrokhzad-4/+0
2019-12-31parser: call .struct_span_err directlyMazdak Farrokhzad-14/+12
2019-12-23extract parse_not_exprMazdak Farrokhzad-7/+7
2019-12-22Format the worldMark Rousskov-194/+165
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-1/+1
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-8/+7
2019-12-20refactor parse_incorrect_await_syntaxMazdak Farrokhzad-13/+23
2019-12-20implement recovery in check_assoc_opMazdak Farrokhzad-17/+1
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-1/+1
2019-12-05rustc_parser: cleanup importsMazdak Farrokhzad-14/+11
2019-11-26Fix spelling typosBrian Wignall-2/+2
2019-11-25Auto merge of #66671 - matthewjasper:ast-address-of, r=Centrilbors-1/+1
2019-11-24Add raw address of expressions to the AST and HIRMatthew Jasper-1/+1
2019-11-24Auto merge of #66592 - estebank:raw-raw-ah-ah-ah, r=cramertjbors-1/+14
2019-11-23Rework raw ident suggestionsEsteban Küber-1/+14
2019-11-22Rollup merge of #66183 - Centril:empty-vis-trait-decl, r=petrochenkovMazdak Farrokhzad-20/+0
2019-11-14Clean some error codes diagnosticsGuillaume Gomez-14/+14
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-11-11syntactically allow visibility on trait item & enum variantMazdak Farrokhzad-20/+0
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-0/+1549