| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-27 | Cleanup: Consistently use `Param` instead of `Arg` #62426 | Kevin Per | -9/+9 | |
| 2019-08-25 | pprust: Do not print spaces before some tokens | Vadim Petrochenkov | -1/+13 | |
| 2019-08-17 | initial implementation of or-pattern parsing | Dan Robertson | -35/+12 | |
| Initial implementation of parsing or-patterns e.g., `Some(Foo | Bar)`. This is a partial implementation of RFC 2535. | ||||
| 2019-08-17 | Initial implementation of or patterns | varkor | -2/+31 | |
| 2019-08-15 | `Ident::with_empty_ctxt` -> `Ident::with_dummy_span` | Vadim Petrochenkov | -3/+3 | |
| `Ident` has had a full span rather than just a `SyntaxContext` for a long time now. | ||||
| 2019-08-15 | Remove `Spanned` from `{ast,hir}::FieldPat` | Vadim Petrochenkov | -4/+4 | |
| 2019-08-15 | Remove `Spanned` from `ast::Mac` | Vadim Petrochenkov | -7/+7 | |
| 2019-08-14 | Merge Variant and Variant_ | Caio | -3/+3 | |
| 2019-08-06 | Rollup merge of #63272 - Mark-Simulacrum:clean-attr, r=petrochenkov | Mazdak Farrokhzad | -3/+2 | |
| Some more libsyntax::attr cleanup Much smaller patch than the last one, mostly just finishing up by removing some Span arguments. r? @petrochenkov | ||||
| 2019-08-05 | Drop span argument from mk_list_item | Mark Rousskov | -3/+2 | |
| 2019-08-05 | add unknown token | Aleksey Kladov | -0/+1 | |
| 2019-08-04 | Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias` | varkor | -1/+1 | |
| 2019-08-04 | Rename `ItemKind::Ty` to `ItemKind::TyAlias` | varkor | -1/+1 | |
| 2019-08-03 | Rollup merge of #63146 - Mark-Simulacrum:clean-attr, r=petrochenkov | Mazdak Farrokhzad | -2/+2 | |
| Cleanup syntax::attr Mostly removing needless arguments to constructors r? @petrochenkov | ||||
| 2019-08-03 | Auto merge of #63180 - varkor:trait-alias-impl-trait, r=Centril | bors | -5/+9 | |
| Change opaque type syntax from `existential type` to type alias `impl Trait` This implements a new feature gate `type_alias_impl_trait` (this is slightly different from the originally proposed feature name, but matches what has been used in discussion since), deprecating the old `existential_types` feature. The syntax for opaque types has been changed. In addition, the "existential" terminology has been replaced with "opaque", as per previous discussion and the RFC. This makes partial progress towards implementing https://github.com/rust-lang/rust/issues/63063. r? @Centril | ||||
| 2019-08-03 | Rollup merge of #63212 - Centril:param-attrs-pretty, r=davidtwco | Mazdak Farrokhzad | -10/+9 | |
| Pretty print attributes in `print_arg` Fixes https://github.com/rust-lang/rust/issues/63210. cc https://github.com/rust-lang/rust/issues/60406 r? @petrochenkov | ||||
| 2019-08-02 | Print outer attributes on formal params. | Mazdak Farrokhzad | -0/+3 | |
| 2019-08-02 | Cleanup 'print_generic_params'. | Mazdak Farrokhzad | -10/+6 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -5/+9 | |
| 2019-08-02 | Remove some more `cfg(test)`s | Vadim Petrochenkov | -20/+0 | |
| 2019-08-02 | libsyntax: Unconfigure tests during normal build | Vadim Petrochenkov | -57/+3 | |
| 2019-07-31 | Remove span argument from mk_attr_{inner,outer} | Mark Rousskov | -2/+2 | |
| Always the same as the passed MetaItem | ||||
| 2019-07-31 | Remove AttrId from Attribute constructors | Mark Rousskov | -2/+2 | |
| 2019-07-30 | Unsupport the await!(..) macro. | Mazdak Farrokhzad | -11/+3 | |
| 2019-07-28 | Rollup merge of #62550 - Centril:rest-patterns, r=petrochenkov | Mazdak Farrokhzad | -47/+9 | |
| Implement RFC 2707 + Parser recovery for range patterns Implement https://github.com/rust-lang/rfcs/pull/2707. - Add a new basic syntactic pattern form `ast::PatKind::Rest` (parsed as `..` or `DOTDOT`) and simplify `ast::PatKind::{Slice, Tuple, TupleStruct}` as a result. - Lower `ast::PatKind::Rest` in combination with the aforementioned `PatKind` variants as well as `PatKind::Ident`. The HIR remains unchanged for now (may be advisable to make slight adjustments later). - Refactor `parser.rs` wrt. parsing sequences and lists of things in the process. - Add parser recovery for range patterns of form `X..`, `X..=`, `X...`, `..Y`, `..=Y`, and `...Y`. This should make it easy to actually support these patterns semantically later if we so desire. cc https://github.com/rust-lang/rust/issues/62254 r? @petrochenkov | ||||
| 2019-07-28 | Adjust pretty printing accordingly. | Mazdak Farrokhzad | -47/+8 | |
| 2019-07-28 | Add 'ast::PatKind::Rest'. | Mazdak Farrokhzad | -0/+1 | |
| 2019-07-27 | Move standard library injection into libsyntax_ext | Vadim Petrochenkov | -2/+1 | |
| 2019-07-15 | pprust: Support `macro` macros | Vadim Petrochenkov | -8/+23 | |
| 2019-07-15 | pprust: Fix formatting regressions from the previous commits | Vadim Petrochenkov | -10/+13 | |
| Fix some remaining cases of bad formatting Update some failing tests | ||||
| 2019-07-15 | pprust: Do not convert attributes into `MetaItem`s for printing | Vadim Petrochenkov | -15/+11 | |
| Fixes https://github.com/rust-lang/rust/issues/62628 | ||||
| 2019-07-15 | pprust: Remove the box from `print_tts` | Vadim Petrochenkov | -2/+4 | |
| Wrap the whole attribute into a box instead | ||||
| 2019-07-15 | pprust: Use `print_mac_common` for delimited token groups | Vadim Petrochenkov | -27/+33 | |
| 2019-07-15 | pprust: Use `print_mac_common` for attributes | Vadim Petrochenkov | -4/+18 | |
| 2019-07-15 | pprust: Use `print_mac_common` for `macro_rules` definitions | Vadim Petrochenkov | -26/+16 | |
| 2019-07-15 | pprust: Move some methods to the `PrintState` trait | Vadim Petrochenkov | -135/+132 | |
| So that path and macro argument printing code can be shared | ||||
| 2019-07-12 | Use snippet instead of pprinting statement | Esteban Küber | -2/+1 | |
| 2019-07-11 | Address review comments | Vadim Petrochenkov | -9/+10 | |
| 2019-07-11 | pretty-print: Merge `print_tts` and `print_tts_ext` | Vadim Petrochenkov | -10/+6 | |
| 2019-07-11 | pretty-print: Do not lose the `$crate` printing flag in `print_tt` | Vadim Petrochenkov | -1/+1 | |
| 2019-07-10 | File is now short enough for tidy | Mark Rousskov | -2/+0 | |
| 2019-07-10 | Remove writer function from PrintState | Mark Rousskov | -37/+32 | |
| 2019-07-10 | Use constant instead of magic number | Mark Rousskov | -1/+1 | |
| 2019-07-10 | Remove needless indent arguments | Mark Rousskov | -11/+8 | |
| We're always indenting by INDENT_UNIT anyway | ||||
| 2019-07-10 | Move pp::Printer helpers to direct impl | Mark Rousskov | -42/+12 | |
| 2019-07-10 | Rename is_bol -> is_beginning_of_line | Mark Rousskov | -9/+4 | |
| Also moves it to pp::Printer from PrintState. | ||||
| 2019-07-10 | Remove needless indirection in bclose | Mark Rousskov | -6/+2 | |
| 2019-07-10 | Drop length from Token::String | Mark Rousskov | -1/+1 | |
| It was always set to the string's length | ||||
| 2019-07-10 | Remove is_begin/is_end functions from PrintState | Mark Rousskov | -16/+4 | |
| These are somewhat ambiguous (beginning/end of what?) so it's better to inline their one use into the code. | ||||
| 2019-07-10 | Move pp::Printer out field to owned String | Mark Rousskov | -19/+13 | |
| This enforces that eof() must be called to get the String out, and generally is better from an API perspective. No users of pretty printing pre-allocate the buffer. | ||||
