| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-08-11 | Rollup merge of #43773 - ubsan:patch-1, r=eddyb | Guillaume Gomez | -1/+1 | |
| fix a typo (this should not have been merged with this typo) | ||||
| 2017-08-11 | Issue warnings for unnecessary path disambiguators | Vadim Petrochenkov | -10/+18 | |
| 2017-08-11 | syntax: Relax path grammar | Vadim Petrochenkov | -13/+2 | |
| 2017-08-11 | Fix some typos | Bastien Orivel | -1/+1 | |
| 2017-08-10 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -29/+138 | |
| 2017-08-10 | Auto merge of #43720 - pornel:staticconst, r=petrochenkov | bors | -10/+13 | |
| Hint correct extern constant syntax Error message for `extern "C" { const …}` is terse, and the right syntax is hard to guess given unfortunate difference between meaning of `static` in C and Rust. I've added a hint for the right syntax. | ||||
| 2017-08-10 | Reword error hint | Kornel | -1/+2 | |
| 2017-08-09 | Fix typo in unicode char definition | Matt Ickstadt | -1/+1 | |
| 2017-08-10 | Better diagnostics and recovery for `const` in extern blocks | Vadim Petrochenkov | -12/+12 | |
| 2017-08-09 | fix a typo | nicole mazzuca | -1/+1 | |
| (this should not have been merged with this typo) | ||||
| 2017-08-09 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -17/+150 | |
| 2017-08-07 | Hint correct extern constant syntax | Kornel | -1/+3 | |
| 2017-08-06 | Fix typo in unicode_chars.rs | Malo Jaffré | -1/+1 | |
| 2017-08-06 | Update the list of confusable characters | Malo Jaffré | -19/+125 | |
| Also reorder and space the list to make it clearer for futures updates and to come closer to the original list. Thanks @est31 for the instructions. Fixes #43629. r? @est31 | ||||
| 2017-07-30 | default binding modes: add pat_binding_modes | Tobias Schottdorf | -7/+8 | |
| This PR kicks off the implementation of the [default binding modes RFC][1] by introducing the `pat_binding_modes` typeck table mentioned in the [mentoring instructions][2]. `pat_binding_modes` is populated in `librustc_typeck/check/_match.rs` and used wherever the HIR would be scraped prior to this PR. Unfortunately, one blemish, namely a two callers to `contains_explicit_ref_binding`, remains. This will likely have to be removed when the second part of [1], the `pat_adjustments` table, is tackled. Appropriate comments have been added. See #42640. [1]: https://github.com/rust-lang/rfcs/pull/2005 [2]: https://github.com/rust-lang/rust/issues/42640#issuecomment-313535089 | ||||
| 2017-07-30 | Auto merge of #43551 - Mark-Simulacrum:rollup, r=Mark-Simulacrum | bors | -0/+5 | |
| Rollup of 8 pull requests - Successful merges: #43409, #43501, #43509, #43512, #43513, #43536, #43544, #43549 - Failed merges: | ||||
| 2017-07-29 | Rollup merge of #43501 - topecongiro:span-to-whereclause, r=nrc | Mark Simulacrum | -0/+5 | |
| Add Span to ast::WhereClause This PR adds `Span` field to `ast::WhereClause`. The motivation here is to make rustfmt's life easier when recovering comments before and after where clause. r? @nrc | ||||
| 2017-07-29 | Auto merge of #43009 - GuillaumeGomez:unused-doc-comments, r=nrc | bors | -5/+4 | |
| Throw errors when doc comments are added where they're unused #42617 | ||||
| 2017-07-28 | syntax: Capture a `TokenStream` when parsing items | Alex Crichton | -6/+133 | |
| This is then later used by `proc_macro` to generate a new `proc_macro::TokenTree` which preserves span information. Unfortunately this isn't a bullet-proof approach as it doesn't handle the case when there's still other attributes on the item, especially inner attributes. Despite this the intention here is to solve the primary use case for procedural attributes, attached to functions as outer attributes, likely bare. In this situation we should be able to now yield a lossless stream of tokens to preserve span information. | ||||
| 2017-07-29 | Add Span to ast::WhereClause | topecongiro | -0/+5 | |
| 2017-07-28 | syntax: Add `tokens: Option<TokenStream>` to Item | Alex Crichton | -0/+1 | |
| This commit adds a new field to the `Item` AST node in libsyntax to optionally contain the original token stream that the item itself was parsed from. This is currently `None` everywhere but is intended for use later with procedural macros. | ||||
| 2017-07-28 | Remove support for `gen arg` | Alex Crichton | -13/+1 | |
| 2017-07-28 | Fix tidy warnings | Alex Crichton | -1/+1 | |
| 2017-07-28 | Generator literal support | John Kåre Alsaker | -1/+22 | |
| 2017-07-27 | Give span to angle bracketed generic arguments | Vadim Petrochenkov | -3/+3 | |
| 2017-07-27 | Simplify parsing of paths | Vadim Petrochenkov | -249/+124 | |
| 2017-07-27 | Make a lint instead | Guillaume Gomez | -32/+0 | |
| 2017-07-27 | Throw errors when doc comments are added where they're unused | Guillaume Gomez | -5/+36 | |
| 2017-07-27 | Auto merge of #43489 - petrochenkov:mutref, r=GuillaumeGomez | bors | -2/+12 | |
| Better diagnostics and recovery for `mut ref` in patterns Fixes https://github.com/rust-lang/rust/issues/43286 Supersedes https://github.com/rust-lang/rust/pull/43451 r? @GuillaumeGomez | ||||
| 2017-07-26 | Better diagnostics and recovery for `mut ref` in patterns | Vadim Petrochenkov | -2/+12 | |
| 2017-07-25 | Fix the spans of catch blocks to include the `do` | Nick Cameron | -1/+1 | |
| 2017-07-23 | Auto merge of #43096 - estebank:ascription-help, r=nikomatsakis | bors | -1/+16 | |
| Point at `:` when using it instead of `;` When triggering type ascription in such a way that we can infer a statement end was intended, add a suggestion for the change. Always point out the reason for the expectation of a type is due to type ascription. Fix #42057, #41928. | ||||
| 2017-07-23 | Auto merge of #43386 - oli-obk:suggestions, r=nikomatsakis | bors | -1/+1 | |
| Adjust new suggestions to the suggestion guidelines Addresses https://github.com/rust-lang/rust/pull/42033#discussion_r127694915 guidelines are https://github.com/rust-lang/rust/blob/master//src/librustc_errors/diagnostic.rs#L212-L224 | ||||
| 2017-07-23 | Lambda expressions honor no struct literal restriction | Aleksey Kladov | -1/+4 | |
| 2017-07-21 | Adjust new suggestions to the suggestion guidelines | Oliver Schneider | -1/+1 | |
| 2017-07-20 | Use the macro structure spans instead of the invocation | Esteban Küber | -5/+3 | |
| 2017-07-18 | Catch expression does not require semicolon to be a statement | Aleksey Kladov | -1/+2 | |
| 2017-07-18 | Unify rules about commas in match arms and semicolons in expressions | Aleksey Kladov | -10/+2 | |
| 2017-07-17 | Add flag to hide code on inline suggestions | Esteban Küber | -3/+3 | |
| Now there's a way to add suggestions that hide the suggested code when presented inline, to avoid weird wording when short code snippets are added at the end. | ||||
| 2017-07-17 | Change some helps to suggestions | Oliver Schneider | -2/+2 | |
| 2017-07-16 | Point at `:` when using it instead of `;` | Esteban Küber | -1/+16 | |
| When triggering type ascription in such a way that we can infer a statement end was intended, add a suggestion for the change. Always point out the reason for the expectation of a type is due to type ascription. | ||||
| 2017-07-11 | Refactor methods onto Printer struct. | Mark Simulacrum | -6/+4 | |
| No (intentional) changes to behavior. This is intended to avoid the anti-pattern of having to import individual methods throughout code. | ||||
| 2017-07-10 | Store all generic arguments for method calls in AST | Vadim Petrochenkov | -33/+15 | |
| 2017-07-07 | syntax: Apply recovery for casts to type ascription | Vadim Petrochenkov | -46/+53 | |
| Fix spans, add some comments | ||||
| 2017-07-07 | Fix spans for binary operator expression with interpolated identifiers | Vadim Petrochenkov | -5/+12 | |
| 2017-07-06 | Add extra whitespace for suggestions | Esteban Küber | -4/+4 | |
| 2017-07-05 | Merge remote-tracking branch 'origin/master' into proc_macro_api | Alex Crichton | -44/+38 | |
| 2017-06-29 | Change some terminology around keywords and reserved identifiers | petrochenkov | -42/+33 | |
| 2017-06-29 | Make `$crate` a keyword | Vadim Petrochenkov | -1/+2 | |
| 2017-06-27 | syntax: allow negative integer literal expression to be interpolated as pattern | Alex Burka | -1/+3 | |
