| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-05 | Rollup merge of #67045 - Centril:parser-import-clean, r=Mark-Simulacrum | Mazdak Farrokhzad | -75/+58 | |
| rustc_parser: cleanup imports Reorganize & canonicalize some imports + Drop `rustc_target` as a dependency. r? @Mark-Simulacrum | ||||
| 2019-12-05 | rustc_parser: cleanup imports | Mazdak Farrokhzad | -75/+58 | |
| 2019-12-03 | Account for raw idents in module file finding | Esteban Küber | -2/+2 | |
| 2019-12-03 | Rollup merge of #66903 - Centril:parse-enum-variant, r=estebank | Mazdak Farrokhzad | -2/+2 | |
| parse_enum_item -> parse_enum_variant r? @estebank | ||||
| 2019-12-03 | Move early lint declarations to librustc_session | Mark Rousskov | -2/+2 | |
| 2019-12-02 | Address review comments | Vadim Petrochenkov | -1/+4 | |
| 2019-12-02 | syntax: Use `ast::MacArgs` for macro definitions | Vadim Petrochenkov | -21/+19 | |
| 2019-12-02 | syntax: Use `ast::MacArgs` for attributes | Vadim Petrochenkov | -47/+19 | |
| 2019-12-02 | syntax: Remove redundant span from `ast::Mac` | Vadim Petrochenkov | -12/+3 | |
| Also remove a couple of redundant `visit_mac` asserts | ||||
| 2019-12-02 | syntax: Introduce a struct `MacArgs` for macro arguments | Vadim Petrochenkov | -49/+66 | |
| 2019-11-30 | parse_enum_item -> parse_enum_variant | Mazdak Farrokhzad | -2/+2 | |
| 2019-11-30 | derive(Default) for Features | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | move GateIssue to rustc_feature & simplify emit_feature_err | Mazdak Farrokhzad | -2/+1 | |
| 2019-11-30 | inline two explanation constants | Mazdak Farrokhzad | -7/+2 | |
| 2019-11-30 | builtin_attrs.rs -> rustc_feature | Mazdak Farrokhzad | -2/+1 | |
| 2019-11-30 | move AttributeTemplate to builtin_attrs | Mazdak Farrokhzad | -3/+14 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -1/+2 | |
| 2019-11-27 | Rollup merge of #66798 - bwignall:typo, r=varkor | Tyler Mandry | -3/+3 | |
| Fix spelling typos Should be non-semantic. Uses https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines to find likely typos. | ||||
| 2019-11-27 | Rollup merge of #66718 - VirrageS:use_comma, r=Centril | Tyler Mandry | -70/+67 | |
| Refactor `parse_enum_item` to use `parse_delim_comma_seq` Followup after https://github.com/rust-lang/rust/pull/66641 Some errors got more verbose but I think they make sense with the help message. | ||||
| 2019-11-26 | Fix spelling typos | Brian Wignall | -3/+3 | |
| 2019-11-26 | Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPC | Tyler Mandry | -6/+11 | |
| Various tweaks to diagnostic output | ||||
| 2019-11-26 | Refactor 'parse_enum_item' to use 'parse_delim_comma_seq' | Janusz Marcinkiewicz | -70/+67 | |
| 2019-11-25 | Various cleanups | Esteban Küber | -6/+11 | |
| 2019-11-25 | Auto merge of #66671 - matthewjasper:ast-address-of, r=Centril | bors | -6/+21 | |
| Ast address-of This is the parts of #64588 that don't affect MIR. If an address-of expression makes it to MIR lowering we error and lower to the best currently expressible approximation to limit further errors. r? @Centril | ||||
| 2019-11-24 | Parse and feature gate raw address of expressions | Matthew Jasper | -1/+1 | |
| 2019-11-24 | Add raw address of expressions to the AST and HIR | Matthew Jasper | -6/+21 | |
| 2019-11-24 | Auto merge of #66592 - estebank:raw-raw-ah-ah-ah, r=cramertj | bors | -1/+14 | |
| Rework raw ident suggestions Use heuristics to determine whethersuggesting raw identifiers is appropriate. Account for raw identifiers when printing a path in a `use` suggestion. Fix #66126. | ||||
| 2019-11-23 | Rework raw ident suggestions | Esteban Küber | -1/+14 | |
| Use heuristics to determine whethersuggesting raw identifiers is appropriate. Account for raw identifiers when printing a path in a `use` suggestion. | ||||
| 2019-11-23 | Add FIXME for using 'parse_delim_comma_seq' when parsing enum variants | Janusz Marcinkiewicz | -0/+2 | |
| 2019-11-23 | Cleanup code after review fixes | Janusz Marcinkiewicz | -14/+11 | |
| 2019-11-23 | Add error reporting on nested keywords inside 'enum' definition | Janusz Marcinkiewicz | -1/+36 | |
| 2019-11-22 | Rollup merge of #66183 - Centril:empty-vis-trait-decl, r=petrochenkov | Mazdak Farrokhzad | -30/+16 | |
| *Syntactically* permit visibilities on trait items & enum variants Fixes #65041 Suppose we have `$vis trait_item` or `$vis enum_variant` and `$vis` is a `:vis` macro fragment. Before this PR, this would fail to parse. This is now instead allowed as per language team consensus in https://github.com/rust-lang/rust/issues/65041#issuecomment-538105286. (See added tests for elaboration.) Moreover, we now also permit visibility modifiers on trait items & enum variants *syntactically* but reject them with semantic checks (in `ast_validation`): ```rust #[cfg(FALSE)] trait Foo { pub fn bar(); } // OK #[cfg(FALSE)] enum E { pub U } // OK ``` | ||||
| 2019-11-20 | Delete ProcessCfgMod | Mark Rousskov | -1/+0 | |
| The previous commit removes the use of this, and now we cleanup. | ||||
| 2019-11-19 | Move syntax_expand::config to rustc_parse::config | Mark Rousskov | -1/+378 | |
| 2019-11-17 | Address review comments | Vadim Petrochenkov | -0/+3 | |
| 2019-11-16 | parse: Use string literal parsing in the `asm` macro | Vadim Petrochenkov | -45/+31 | |
| 2019-11-16 | parse: Support parsing optional literals | Vadim Petrochenkov | -21/+27 | |
| Revert weird renaming of the former `LitError::report` | ||||
| 2019-11-16 | ast: Keep string literals in ABIs precisely | Vadim Petrochenkov | -6/+9 | |
| 2019-11-16 | ast: Keep `extern` qualifiers in functions more precisely | Vadim Petrochenkov | -31/+32 | |
| 2019-11-15 | Rollup merge of #66197 - Centril:transparent-ast, r=varkor | Tyler Mandry | -48/+13 | |
| Push `ast::{ItemKind, ImplItemKind}::OpaqueTy` hack down into lowering We currently have a hack in the form of `ast::{ItemKind, ImplItemKind}::OpaqueTy` which is constructed literally when you write `type Alias = impl Trait;` but not e.g. `type Alias = Vec<impl Trait>;`. Per https://github.com/rust-lang/rfcs/pull/2515, this needs to change to allow `impl Trait` in nested positions. This PR achieves this change for the syntactic aspect but not the semantic one, which will require changes in lowering and def collection. In the interim, `TyKind::opaque_top_hack` is introduced to avoid knock-on changes in lowering, collection, and resolve. These hacks can then be removed and fixed one by one until the desired semantics are supported. r? @varkor | ||||
| 2019-11-14 | TAIT: parse recursively instead of hack. | Mazdak Farrokhzad | -48/+13 | |
| 2019-11-14 | Clean some error codes diagnostics | Guillaume Gomez | -25/+29 | |
| 2019-11-14 | Remove unused error_codes.rs files | Guillaume Gomez | -174/+0 | |
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -1/+7 | |
| 2019-11-14 | Rollup merge of #66361 - Centril:66357, r=pnkfelix | Yuki Okushi | -1/+3 | |
| parser: don't use `unreachable!()` in `fn unexpected`. Fixes #66357 r? @estebank | ||||
| 2019-11-13 | parser: don't use `unreachable!()` in `fn unexpected`. | Mazdak Farrokhzad | -1/+3 | |
| 2019-11-11 | fix an ICE in macro's diagnostic message | Guanqun Lu | -2/+13 | |
| 2019-11-11 | syntactically allow visibility on trait item & enum variant | Mazdak Farrokhzad | -30/+16 | |
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -0/+12831 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
