| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-30 | Rename directories for some crates from `syntax_x` to `rustc_x` | Vadim Petrochenkov | -10284/+0 | |
| `syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros` | ||||
| 2019-12-30 | Rollup merge of #64273 - petrochenkov:stabattrmod, r=Centril | Yuki Okushi | -7/+4 | |
| Stabilize attribute macros on inline modules While still gating non-inline modules in proc macro input. Split from https://github.com/rust-lang/rust/pull/63931 cc https://github.com/rust-lang/rust/issues/54727 | ||||
| 2019-12-29 | Auto merge of #67112 - Centril:expr-polish, r=estebank | bors | -4/+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-28 | doc comments: Less attribute mimicking | Vadim Petrochenkov | -11/+5 | |
| 2019-12-28 | Stabilize attribute macros on inline modules | Vadim Petrochenkov | -7/+4 | |
| 2019-12-24 | x.py fmt after previous deignore | Mark Rousskov | -117/+116 | |
| 2019-12-23 | extract parse_not_expr | Mazdak Farrokhzad | -4/+2 | |
| 2019-12-22 | Format the world | Mark Rousskov | -1606/+1472 | |
| 2019-12-21 | Rollup merge of #67355 - Centril:merge-mut, r=oli-obk | Mazdak Farrokhzad | -3/+3 | |
| Merge `ast::Mutability` and `mir::Mutability` r? @oli-obk | ||||
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -13/+10 | |
| 2019-12-20 | extract suggest_slice_pat | Mazdak Farrokhzad | -21/+25 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -3/+3 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-12-20 | Rollup merge of #67131 - Centril:item-merge, r=petrochenkov | Mazdak Farrokhzad | -32/+33 | |
| Merge `TraitItem` & `ImplItem into `AssocItem` In this PR we: - Merge `{Trait,Impl}Item{Kind?}` into `AssocItem{Kind?}` as discussed in https://github.com/rust-lang/rust/issues/65041#issuecomment-538105286. - This is done by using the cover grammar of both forms. - In particular, it requires that we syntactically allow (under `#[cfg(FALSE)]`): - `default`ness on `trait` items, - `impl` items without a body / definition (`const`, `type`, and `fn`), - and associated `type`s in `impl`s with bounds, e.g., `type Foo: Ord;`. - The syntactic restrictions are replaced by semantic ones in `ast_validation`. - Move syntactic restrictions around C-variadic parameters from the parser into `ast_validation`: - `fn`s in all contexts now syntactically allow `...`, - `...` can occur anywhere in the list syntactically (`fn foo(..., x: usize) {}`), - and `...` can be the sole parameter (`fn foo(...) {}`. r? @petrochenkov | ||||
| 2019-12-18 | Propagate cfg bootstrap | Mark Rousskov | -1/+0 | |
| 2019-12-13 | Address review comments | Oliver Scherer | -1/+1 | |
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -1/+5 | |
| functions with a `const` modifier | ||||
| 2019-12-12 | Remove `ast::{Impl,Trait}{Item,ItemKind}`. | Mazdak Farrokhzad | -18/+18 | |
| 2019-12-12 | Unify associated item mut visitors. | Mazdak Farrokhzad | -14/+14 | |
| 2019-12-12 | Alias `TraitItem` & `ImplItem`. | Mazdak Farrokhzad | -0/+1 | |
| Allow defaultness on trait items syntactically. | ||||
| 2019-12-12 | Remove the `DelimSpan` from `NamedMatch::MatchedSeq`. | Nicholas Nethercote | -20/+11 | |
| Because it's unused. This then allows the removal of `MatcherPos::sp_open`. It's a tiny perf win, reducing instruction counts by 0.1% - 0.2% on a few benchmarks. | ||||
| 2019-12-07 | Make `ForeignItem` an alias of `Item`. | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-06 | parse_meta: ditch parse_in_attr | Mazdak Farrokhzad | -5/+5 | |
| 2019-12-06 | derive: avoid parse_in_attr | Mazdak Farrokhzad | -25/+62 | |
| 2019-12-03 | Remove dead cfg method | Mark Rousskov | -1/+0 | |
| 2019-12-03 | Move early lint declarations to librustc_session | Mark Rousskov | -2/+2 | |
| 2019-12-02 | syntax: Use `ast::MacArgs` for macro definitions | Vadim Petrochenkov | -6/+6 | |
| 2019-12-02 | syntax: Use `ast::MacArgs` for attributes | Vadim Petrochenkov | -23/+9 | |
| 2019-12-02 | syntax: Remove redundant span from `ast::Mac` | Vadim Petrochenkov | -4/+3 | |
| Also remove a couple of redundant `visit_mac` asserts | ||||
| 2019-12-02 | syntax: Introduce a struct `MacArgs` for macro arguments | Vadim Petrochenkov | -11/+2 | |
| 2019-11-30 | move GateIssue to rustc_feature & simplify emit_feature_err | Mazdak Farrokhzad | -13/+15 | |
| 2019-11-30 | move is_builtin_attr to syntax::attr | Mazdak Farrokhzad | -2/+2 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -3/+5 | |
| 2019-11-27 | Rollup merge of #66798 - bwignall:typo, r=varkor | Tyler Mandry | -1/+1 | |
| 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-26 | Fix spelling typos | Brian Wignall | -1/+1 | |
| 2019-11-26 | Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPC | Tyler Mandry | -1/+2 | |
| Various tweaks to diagnostic output | ||||
| 2019-11-25 | Tweak duplicate matcher binding error | Esteban Küber | -1/+2 | |
| 2019-11-25 | Auto merge of #66669 - petrochenkov:tup2attr, r=matthewjasper | bors | -4/+23 | |
| Fix some issues with attributes on unnamed fields Fixes https://github.com/rust-lang/rust/issues/66487 Fixes https://github.com/rust-lang/rust/issues/66555 | ||||
| 2019-11-25 | Auto merge of #66671 - matthewjasper:ast-address-of, r=Centril | bors | -1/+1 | |
| 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 | Add raw address of expressions to the AST and HIR | Matthew Jasper | -1/+1 | |
| 2019-11-24 | rustc_plugin: Remove support for syntactic plugins | Vadim Petrochenkov | -2/+0 | |
| 2019-11-24 | expand: Fully preserve visibilities on unnamed fields with attributes | Vadim Petrochenkov | -4/+23 | |
| 2019-11-22 | Rollup merge of #66183 - Centril:empty-vis-trait-decl, r=petrochenkov | Mazdak Farrokhzad | -4/+7 | |
| *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 | -8/+3 | |
| 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 | -367/+2 | |
| 2019-11-16 | expand: Stop marking derive helper attributes as known | Vadim Petrochenkov | -34/+5 | |
| Pass them through name resolution instead | ||||
| 2019-11-11 | syntactically allow visibility on trait item & enum variant | Mazdak Farrokhzad | -4/+7 | |
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -34/+34 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-10 | move config.rs to libsyntax_expand | Mazdak Farrokhzad | -2/+2445 | |
| 2019-11-09 | move attr meta grammar to parse::validate_atr + ast_validation | Mazdak Farrokhzad | -1/+3 | |
| 2019-11-08 | Rollup merge of #65785 - Centril:compat-to-error-2, r=oli-obk | Mazdak Farrokhzad | -1/+1 | |
| Transition future compat lints to {ERROR, DENY} - Take 2 Follow up to https://github.com/rust-lang/rust/pull/63247 implementing https://github.com/rust-lang/rust/pull/63247#issuecomment-536295992. - `legacy_ctor_visibility` (ERROR) -- closes #39207 - `legacy_directory_ownership` (ERROR) -- closes #37872 - `safe_extern_static` (ERROR) -- closes #36247 - `parenthesized_params_in_types_and_modules` (ERROR) -- closes #42238 - `duplicate_macro_exports` (ERROR) - `nested_impl_trait` (ERROR) -- closes #59014 - `ill_formed_attribute_input` (DENY) -- transitions #57571 - `patterns_in_fns_without_body` (DENY) -- transitions #35203 r? @varkor cc @petrochenkov | ||||
