summary refs log tree commit diff
path: root/src/librustc_parse/parser/pat.rs
AgeCommit message (Collapse)AuthorLines
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
Also fix a bug with the span passed in `mk_range`.
2020-01-10Introduce `#![feature(half_open_range_patterns)]`.Mazdak Farrokhzad-187/+132
This feature adds `X..`, `..X`, and `..=X` patterns.
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
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-23Introduce `#![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-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
Merge `ast::Mutability` and `mir::Mutability` r? @oli-obk
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-6/+5
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-8/+8
2. mir::Mutability -> ast::Mutability.
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
Also remove a couple of redundant `visit_mac` asserts
2019-12-02syntax: Introduce a struct `MacArgs` for macro argumentsVadim Petrochenkov-3/+2
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-0/+1015
also move MACRO_ARGUMENTS -> librustc_parse