about summary refs log tree commit diff
path: root/src/librustc_parse/parser/pat.rs
AgeCommit message (Expand)AuthorLines
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-1/+1
2020-03-26Throw error when encountering `...` instead of `..` while destructing a patternRakshith Ravi-0/+21
2020-03-21Rollup merge of #70187 - matthiaskrgr:cl2ppy, r=Mark-SimulacrumMazdak Farrokhzad-1/+1
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-1/+1
2020-03-20can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.Mazdak Farrokhzad-1/+1
2020-03-12ast: `Mac`/`Macro` -> `MacCall`Vadim Petrochenkov-7/+5
2020-03-10use check_path moreMazdak Farrokhzad-1/+1
2020-03-09Use `Token::uninterpolate` in couple more places matching on `(Nt)Ident`Vadim Petrochenkov-1/+1
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-1/+1
2020-03-01Rollup merge of #69579 - petrochenkov:noprevspan, r=CentrilYuki Okushi-19/+18
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-5/+7
2020-02-29parser: `prev_span` -> `prev_token.span`Vadim Petrochenkov-19/+18
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-1/+1
2020-02-17parse: recover `mut (x @ y)` as `(mut x @ mut y)`.Mazdak Farrokhzad-16/+13
2020-02-11Invert control in struct_lint_level.jumbatm-1/+1
2020-02-09Don't parse `mut a @ b` as `mut a @ mut b`Matthew Jasper-4/+7
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-12Fix formatting ellipses at the end of some diagnosticsvarkor-2/+2
2020-01-11Ban `...X` pats, harden tests, and improve diagnostics.Mazdak Farrokhzad-3/+23
2020-01-10Introduce `#![feature(half_open_range_patterns)]`.Mazdak Farrokhzad-187/+132
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-2/+2
2019-12-31parser::pat: remove .fatal callsMazdak Farrokhzad-11/+15
2019-12-31parser: span_fatal -> struct_span_errMazdak Farrokhzad-1/+3
2019-12-31parser: call .struct_span_err directlyMazdak Farrokhzad-14/+12
2019-12-29Auto merge of #67112 - Centril:expr-polish, r=estebankbors-2/+2
2019-12-23Introduce `#![feature(bindings_after_at)]`.Mazdak Farrokhzad-0/+1
2019-12-23extract parse_not_exprMazdak Farrokhzad-2/+2
2019-12-22Format the worldMark Rousskov-100/+101
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-8/+8
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-6/+5
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-8/+8
2019-12-13parser: recover on `&'lifetime mut $pat`.Mazdak Farrokhzad-6/+16
2019-12-05rustc_parser: cleanup importsMazdak Farrokhzad-2/+2
2019-12-02syntax: Remove redundant span from `ast::Mac`Vadim Petrochenkov-3/+2
2019-12-02syntax: Introduce a struct `MacArgs` for macro argumentsVadim Petrochenkov-3/+2
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-0/+1015