| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-23 | Auto merge of #60861 - Centril:let-chains-ast-intro, r=petrochenkov | bors | -1/+3 | |
| [let_chains, 2/6] Introduce `Let(..)` in AST, remove IfLet + WhileLet and parse let chains Here we remove `ast::ExprKind::{IfLet, WhileLet}` and introduce `ast::ExprKind::Let`. Moreover, we also: + connect the parsing logic for let chains + introduce the feature gate + rewire HIR lowering a bit. However, this does not connect the new syntax to semantics in HIR. That will be the subject of a subsequent PR. Per https://github.com/rust-lang/rust/issues/53667#issuecomment-471583239. Next step after https://github.com/rust-lang/rust/pull/59288. cc @Manishearth re. Clippy. r? @oli-obk | ||||
| 2019-06-23 | Run rustfmt | Julien Cretin | -235/+273 | |
| 2019-06-23 | Rollup merge of #62068 - ia0:fix_meta_var, r=petrochenkov | Mazdak Farrokhzad | -6/+6 | |
| Fix meta-variable binding errors in macros The errors are either: - The meta-variable used in the right-hand side is not bound (or defined) in the left-hand side. - The meta-variable used in the right-hand side does not repeat with the same kleene operator as its binder in the left-hand side. Either it does not repeat enough, or it uses a different operator somewhere. This change should have no semantic impact. Found by https://github.com/rust-lang/rust/pull/62008 | ||||
| 2019-06-23 | let_chains: note re. back-compat wrt. expr beginning. | Mazdak Farrokhzad | -1/+3 | |
| 2019-06-23 | Fix meta-variable binding errors in macros | Julien Cretin | -6/+6 | |
| The errors are either: - The meta-variable used in the right-hand side is not bound (or defined) in the left-hand side. - The meta-variable used in the right-hand side does not repeat with the same kleene operator as its binder in the left-hand side. Either it does not repeat enough, or it uses a different operator somewhere. This change should have no semantic impact. | ||||
| 2019-06-23 | let_chains: readd kw::let to ident_can_begin_expr. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-22 | Lint empty 'derive()' as unused attribute. | Mazdak Farrokhzad | -4/+0 | |
| 2019-06-19 | Rollup merge of #61547 - petrochenkov:cfgen, r=Centril | Mazdak Farrokhzad | -3/+3 | |
| Support `cfg` and `cfg_attr` on generic parameters `cfg` attributes are supported in all other positions where attributes are accepted at all. They were previously prohibited in https://github.com/rust-lang/rust/pull/51283 because they weren't implemented correctly before that and were simply ignored. | ||||
| 2019-06-19 | Support `cfg` and `cfg_attr` on generic parameters | Vadim Petrochenkov | -3/+3 | |
| 2019-06-19 | Rollup merge of #61898 - petrochenkov:sekind, r=eddyb | Mazdak Farrokhzad | -245/+134 | |
| syntax: Factor out common fields from `SyntaxExtension` variants And some other related cleanups. Continuation of https://github.com/rust-lang/rust/pull/61606. This will also help to unblock https://github.com/rust-lang/rust/pull/61877. | ||||
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-18 | resolve/expand: Move expansion info setting to a single earlier point | Vadim Petrochenkov | -30/+4 | |
| 2019-06-18 | syntax: Move `default_transparency` into `ExpnInfo` | Vadim Petrochenkov | -1/+2 | |
| 2019-06-18 | syntax: Introduce `default`/`with_unstable` constructors for `ExpnInfo` | Vadim Petrochenkov | -9/+4 | |
| 2019-06-18 | syntax: Remove `DummyResolver` | Vadim Petrochenkov | -25/+0 | |
| 2019-06-18 | syntax: Factor out common fields from `SyntaxExtension` variants | Vadim Petrochenkov | -198/+142 | |
| 2019-06-16 | Rollup merge of #61866 - sinkuu:redundant_clone, r=petrochenkov | Mazdak Farrokhzad | -2/+3 | |
| Remove redundant `clone()`s | ||||
| 2019-06-15 | Rollup merge of #61813 - matthewjasper:remove-unnecessary-symbol-ops, ↵ | Mazdak Farrokhzad | -11/+11 | |
| r=petrochenkov Remove some unnecessary symbol interner ops * Don't gensym symbols that don't need to worry about colliding with other symbols * Use symbol constants instead of interning string literals in a few places. * Don't generate a module in `__register_diagnostic` r? @petrochenkov | ||||
| 2019-06-15 | Use `slice::from_ref` instead of cloning | Shotaro Yamada | -2/+3 | |
| 2019-06-14 | Avoid some unnecessary symbol interner operations | Matthew Jasper | -11/+11 | |
| 2019-06-12 | Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov | bors | -2/+8 | |
| Allow attributes in formal function parameters Implements https://github.com/rust-lang/rust/issues/60406. This is my first contribution to the compiler and since this is a large and complex project, I am not fully aware of the consequences of the changes I have made. **TODO** - [x] Forbid some built-in attributes. - [x] Expand cfg/cfg_attr | ||||
| 2019-06-10 | syntax: Rename variants of `SyntaxExtension` for consistency | Vadim Petrochenkov | -45/+41 | |
| 2019-06-10 | syntax: Improve documentation of `SyntaxExtension` | Vadim Petrochenkov | -36/+54 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::DeclMacro` | Vadim Petrochenkov | -77/+61 | |
| It's a less powerful duplicate of `SyntaxExtension::NormalTT` | ||||
| 2019-06-10 | syntax: Use `MultiItemModifier` for built-in derives | Vadim Petrochenkov | -25/+22 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::MultiDecorator` and `MultiItemDecorator` | Vadim Petrochenkov | -43/+1 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::IdentTT` and `IdentMacroExpander` | Vadim Petrochenkov | -60/+0 | |
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -2/+8 | |
| 2019-06-09 | pacify tidy. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-09 | Some more cleanup in libsyntax::ext::tt::quoted | Mazdak Farrokhzad | -11/+8 | |
| 2019-06-09 | Cleanups in parse_sep_and_kleene_op. | Mazdak Farrokhzad | -12/+4 | |
| 2019-06-09 | Support ? Kleene operator in 2015. | Mazdak Farrokhzad | -167/+4 | |
| 2019-06-09 | Rollup merge of #61669 - petrochenkov:tokderef2, r=oli-obk | Mazdak Farrokhzad | -66/+51 | |
| syntax: Remove `Deref` impl from `Token` Follow up to https://github.com/rust-lang/rust/pull/61541 r? @oli-obk | ||||
| 2019-06-09 | Rollup merge of #61646 - L117:master, r=Centril | Mazdak Farrokhzad | -15/+15 | |
| Remove useless allocations in macro_rules follow logic. Closes #61543 | ||||
| 2019-06-08 | syntax: Remove `Deref` impl from `Token` | Vadim Petrochenkov | -23/+13 | |
| 2019-06-08 | syntax: Move most of the `TokenKind` methods to `Token` | Vadim Petrochenkov | -9/+9 | |
| 2019-06-08 | syntax: Keep full `Token`s for `macro_rules` separators | Vadim Petrochenkov | -35/+30 | |
| 2019-06-08 | Remove useless allocations in macro_rules follow logic. | L117 | -15/+15 | |
| 2019-06-07 | parser: `self.span` -> `self.token.span` | Vadim Petrochenkov | -11/+11 | |
| 2019-06-06 | Address review comments | Vadim Petrochenkov | -12/+9 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -21/+22 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -18/+19 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -32/+26 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Lifetime` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Add some helper methods to `Token` | Vadim Petrochenkov | -8/+7 | |
| 2019-06-06 | syntax: Use `Token` in `Parser` | Vadim Petrochenkov | -17/+16 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -69/+74 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -21/+21 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -23/+23 | |
| 2019-06-05 | Implemented for function bounds, type bounds, and named existential types. | Alexander Regueiro | -8/+8 | |
