| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-04-24 | Remove some old code from libsyntax | Vadim Petrochenkov | -3/+3 | |
| 2016-04-24 | syntax: Make `is_path_start` precise and improve some error messages about ↵ | Vadim Petrochenkov | -35/+62 | |
| unexpected tokens | ||||
| 2016-04-24 | syntax: Check paths in visibilities for type parameters | Vadim Petrochenkov | -74/+61 | |
| syntax: Merge PathParsingMode::NoTypesAllowed and PathParsingMode::ImportPrefix syntax: Rename PathParsingMode and its variants to better express their purpose syntax: Remove obsolete error message about 'self lifetime syntax: Remove ALLOW_MODULE_PATHS workaround syntax/resolve: Adjust some error messages resolve: Compare unhygienic (not renamed) names with keywords::Invalid, invalid identifiers may appear to be valid after renaming | ||||
| 2016-04-24 | syntax: Merge keywords and remaining special idents in one list | Vadim Petrochenkov | -137/+89 | |
| Simplify the macro used for generation of keywords Make `Keyword::ident` private | ||||
| 2016-04-24 | syntax: Don't parse idents with `parse_path` | Vadim Petrochenkov | -9/+12 | |
| Lift some restrictions on type parameters in paths Sanity check import paths for type parameters | ||||
| 2016-04-24 | syntax: Make static/super/self/Self keywords + special ident cleanup | Vadim Petrochenkov | -127/+76 | |
| 2016-04-24 | syntax: Get rid of token::IdentStyle | Vadim Petrochenkov | -98/+59 | |
| 2016-04-24 | syntax: Don't rely on token::IdentStyle in the parser | Vadim Petrochenkov | -131/+53 | |
| 2016-04-24 | thread tighter span for closures around | Niko Matsakis | -3/+6 | |
| Track the span corresponding to the `|...|` part of the closure. | ||||
| 2016-04-21 | add more confusable CJK square bracket aliases | Wang Xuerui | -0/+12 | |
| 2016-04-21 | correct aliases for square brackets | Wang Xuerui | -6/+8 | |
| 2016-04-21 | add confusable space characters | Wang Xuerui | -0/+17 | |
| 2016-04-21 | add more characters easily inputtable with CJK IMEs | Wang Xuerui | -0/+16 | |
| 2016-04-17 | Rollup merge of #33044 - petrochenkov:prefix, r=eddyb | Manish Goregaokar | -111/+63 | |
| syntax: Parse import prefixes as paths Fixes https://github.com/rust-lang/rust/issues/10415 r? @eddyb (This partially intersects with https://github.com/rust-lang/rust/pull/33041) | ||||
| 2016-04-16 | Auto merge of #32909 - sanxiyn:unused-trait-import-2, r=alexcrichton | bors | -2/+0 | |
| Remove unused trait imports | ||||
| 2016-04-17 | syntax: Parse import prefixes as paths | Vadim Petrochenkov | -111/+63 | |
| 2016-04-16 | Auto merge of #32875 - jseyfried:1422_implementation, r=nikomatsakis | bors | -16/+25 | |
| Implement `pub(restricted)` privacy (RFC 1422) This implements `pub(restricted)` privacy from RFC 1422 (cc #32409) behind a feature gate. `pub(restricted)` paths currently cannot use re-exported modules both for simplicity of implementation and for future compatibility with RFC 1560 (cf #31783). r? @nikomatsakis | ||||
| 2016-04-14 | Improve message for raw pointer missing mut and const | David Tolnay | -2/+2 | |
| "Bare raw pointer" does not exist as a concept. | ||||
| 2016-04-14 | Parse `pub(restricted)` | Jeffrey Seyfried | -16/+25 | |
| 2016-04-12 | Bare raw pointers have been disallowed forever | David Tolnay | -3/+2 | |
| This change was in 0.12.0, a year and a half ago. Let's move on! | ||||
| 2016-04-12 | Remove unused trait imports | Seo Sanghyeon | -2/+0 | |
| 2016-04-11 | Auto merge of #32711 - marcusklaas:try-shorthand-span-fix, r=nagisa | bors | -1/+1 | |
| Fix the span for try shorthand expressions My five character contribution to the rust parser! Fixes https://github.com/rust-lang/rust/issues/32709. | ||||
| 2016-04-11 | Fix the span for try shorthand expressions | Marcus Klaas | -1/+1 | |
| 2016-04-06 | Rollup merge of #32727 - matklad:fix-comment, r=alexcrichton | Steve Klabnik | -6/+6 | |
| minor: update old comments No more lifetimes in function types after https://github.com/rust-lang/rust/commit/f945190e6352a1bc965a117569532643319b400f | ||||
| 2016-04-06 | Rollup merge of #32570 - eddyb:tis-but-a-front, r=nikomatsakis | Manish Goregaokar | -8/+12 | |
| r? @nikomatsakis Conflicts: src/librustc_save_analysis/lib.rs src/libsyntax/ast_util.rs | ||||
| 2016-04-06 | Move span into `StructField` | Vadim Petrochenkov | -7/+10 | |
| 2016-04-06 | Get rid of ast::StructFieldKind | Vadim Petrochenkov | -4/+4 | |
| 2016-04-06 | syntax: dismantle ast_util. | Eduard Burtescu | -8/+12 | |
| 2016-04-05 | Auto merge of #32688 - jseyfried:ast_groundwork_for_1422, r=pnkfelix | bors | -10/+10 | |
| [breaking-batch] Add support for `pub(restricted)` syntax in the AST This PR allows the AST to represent the `pub(restricted)` syntax from RFC 1422 (cc #32409). More specifically, it makes `ast::Visibility` non-`Copy` and adds two new variants, `Visibility::Crate` for `pub(crate)` and `Visitibility::Restricted { path: P<Path>, id: NodeId }` for `pub(path)`. plugin-[breaking-change] cc #31645 r? @pnkfelix | ||||
| 2016-04-05 | Fixes bug which accepting using `super` in use statemet. | vlastachu | -6/+6 | |
| Issue: #32225 | ||||
| 2016-04-04 | minor: update old comments | Aleksey Kladov | -6/+6 | |
| No more lifetimes in function types after https://github.com/rust-lang/rust/commit/f945190e6352a1bc965a117569532643319b400f | ||||
| 2016-04-02 | Add `Crate` and `Restricted` variants to `ast::Visibility` | Jeffrey Seyfried | -4/+4 | |
| 2016-04-02 | Make `ast::Visibility` non-copyable | Jeffrey Seyfried | -6/+6 | |
| 2016-03-31 | syntax: Extra diagnostics for `_` used in an identifier position | Vadim Petrochenkov | -12/+6 | |
| 2016-03-28 | Auto merge of #32479 - eddyb:eof-not-even-twice, r=nikomatsakis | bors | -9/+28 | |
| Prevent bumping the parser past the EOF. Makes `Parser::bump` after EOF into an ICE, forcing callers to avoid repeated EOF bumps. This ICE is intended to break infinite loops where EOF wasn't stopping the loop. For example, the handling of EOF in `parse_trait_items`' recovery loop fixes #32446. But even without this specific fix, the ICE is triggered, which helps diagnosis and UX. This is a `[breaking-change]` for plugins authors who eagerly eat multiple EOFs. See https://github.com/docopt/docopt.rs/pull/171 for such an example and the necessary fix. | ||||
| 2016-03-28 | Auto merge of #32267 - durka:inclusive-range-error, r=nrc | bors | -29/+39 | |
| melt the ICE when lowering an impossible range Emit a fatal error instead of panicking when HIR lowering encounters a range with no `end` point. This involved adding a method to wire up `LoweringContext::span_fatal`. Fixes #32245 (cc @nodakai). r? @nrc | ||||
| 2016-03-26 | syntax: Stop the bump loop for trait items at } and EOF. | Eduard Burtescu | -9/+17 | |
| 2016-03-26 | syntax: Prevent bumping the parser EOF to stop infinite loops. | Eduard Burtescu | -0/+11 | |
| 2016-03-26 | Rollup merge of #32435 - nrc:fix-err-recover, r=nikomatsakis | Manish Goregaokar | -24/+71 | |
| Some fixes for error recovery in the compiler | ||||
| 2016-03-24 | address nits | Alex Burka | -3/+4 | |
| 2016-03-24 | error during parsing for malformed inclusive range | Alex Burka | -29/+38 | |
| Now it is impossible for `...` or `a...` to reach HIR lowering without a rogue syntax extension in play. | ||||
| 2016-03-24 | Tests | Nick Cameron | -1/+6 | |
| 2016-03-22 | fix alignment | Jorge Aparicio | -20/+21 | |
| 2016-03-22 | try! -> ? | Jorge Aparicio | -498/+498 | |
| Automated conversion using the untry tool [1] and the following command: ``` $ find -name '*.rs' -type f | xargs untry ``` at the root of the Rust repo. [1]: https://github.com/japaric/untry | ||||
| 2016-03-23 | Error recovery in the tokeniser | Nick Cameron | -25/+58 | |
| Closes #31994 | ||||
| 2016-03-23 | Don't loop forever on error recovery with EOF | Nick Cameron | -1/+10 | |
| closes #31804 | ||||
| 2016-03-14 | Assorted fixed after rebasing | Aaron Turon | -6/+6 | |
| 2016-03-14 | Add `default` as contextual keyword, and parse it for impl items. | Aaron Turon | -50/+80 | |
| 2016-03-09 | Auto merge of #31631 - jonas-schievink:agoraphobia, r=nrc | bors | -72/+62 | |
| [breaking-batch] Move more uses of `panictry!` out of libsyntax | ||||
| 2016-03-09 | Auto merge of #32071 - jseyfried:parse_pub, r=nikomatsakis | bors | -34/+10 | |
| Make errors for unnecessary visibility qualifiers consistent This PR refactors away `syntax::parse::parser::ParsePub` so that unnecessary visibility qualifiers on variant fields are reported not by the parser but by `privacy::SanePrivacyVisitor` (thanks to @petrochenkov's drive-by improvements in #31919). r? @nikomatsakis | ||||
