| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-06-07 | Replace some matches with try. | Masaki Hara | -4/+1 | |
| 2017-06-02 | Rollup merge of #42319 - Manishearth:const-extern, r=nikomatsakis | Mark Simulacrum | -0/+4 | |
| Improve error message for const extern fn It's currently ``error: unmatched visibility `pub` ``, which is a nonsensical error in this context. | ||||
| 2017-05-31 | Improve error message for const extern fn | Manish Goregaokar | -0/+4 | |
| 2017-05-31 | Emit proper expectation for the "default" keyword. | Masaki Hara | -2/+11 | |
| 2017-05-31 | Parse macros named "default" correctly. | Masaki Hara | -19/+14 | |
| 2017-05-25 | Hygienize lifetimes. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-25 | Declarative macros 2.0 without hygiene. | Jeffrey Seyfried | -21/+47 | |
| 2017-05-25 | Refactor out `ast::MacroDef`. | Jeffrey Seyfried | -1/+3 | |
| 2017-05-18 | Add an option to the parser to avoid parsing out of line modules | Nick Cameron | -2/+13 | |
| This is useful if parsing from stdin or a String and don't want to try and read in a module from another file. Instead we just leave a stub in the AST. | ||||
| 2017-05-15 | adressed comments by @kennytm and @petrochenkov | Andre Bogus | -3/+3 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -38/+35 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-08 | Remove need for &format!(...) or &&"" dances in `span_label` calls | Oliver Schneider | -8/+8 | |
| 2017-05-07 | Auto merge of #41729 - ubsan:master, r=nrc | bors | -20/+20 | |
| Delete features which are easily removed, in libsyntax | ||||
| 2017-05-07 | fix the easy features in libsyntax | ubsan | -20/+20 | |
| 2017-05-06 | Fix "an" usage | acdenisSK | -1/+1 | |
| 2017-05-05 | Suggest `!` for bitwise negation when encountering a `~` | F001 | -0/+13 | |
| 2017-05-02 | Auto merge of #40851 - oli-obk:multisugg, r=jonathandturner | bors | -10/+7 | |
| Minimize single span suggestions into a label changes ``` 14 | println!("☃{}", tup[0]); | ^^^^^^ | help: to access tuple elements, use tuple indexing syntax as shown | println!("☃{}", tup.0); ``` into ``` 14 | println!("☃{}", tup[0]); | ^^^^^^ to access tuple elements, use `tup.0` ``` Also makes suggestions explicit in the backend in preparation of adding multiple suggestions to a single diagnostic. Currently that's already possible, but results in a full help message + modified code snippet per suggestion, and has no rate limit (might show 100+ suggestions). | ||||
| 2017-04-28 | Auto merge of #41542 - petrochenkov:objpars2, r=nikomatsakis | bors | -2/+2 | |
| syntax: Parse trait object types starting with a lifetime bound Fixes https://github.com/rust-lang/rust/issues/39085 This was originally implemented in https://github.com/rust-lang/rust/pull/40043, then reverted, then there was some [agreement](https://github.com/rust-lang/rust/issues/39318#issuecomment-289108720) that it should be supported. (This is hopefully the last PR related to bound parsing.) | ||||
| 2017-04-27 | Auto merge of #37860 - giannicic:defaultimpl, r=nagisa | bors | -7/+27 | |
| #37653 support `default impl` for specialization this commit implements the first step of the `default impl` feature: > all items in a `default impl` are (implicitly) `default` and hence > specializable. In order to test this feature I've copied all the tests provided for the `default` method implementation (in run-pass/specialization and compile-fail/specialization directories) and moved the `default` keyword from the item to the impl. See [referenced](https://github.com/rust-lang/rust/issues/37653) issue for further info r? @aturon | ||||
| 2017-04-26 | support `default impl` for specialization | Gianni Ciccarelli | -9/+6 | |
| `[default] [unsafe] impl` and typecheck | ||||
| 2017-04-25 | Parse trait object types starting with a lifetime bound | Vadim Petrochenkov | -2/+2 | |
| 2017-04-25 | Add ui tests | Guillaume Gomez | -7/+4 | |
| 2017-04-25 | Improve E0178 suggestion placement | Oliver Schneider | -4/+5 | |
| 2017-04-25 | Address PR comments | Oliver Schneider | -3/+1 | |
| 2017-04-25 | Update affected tests | Oliver Schneider | -3/+1 | |
| 2017-04-25 | support `default impl` for specialization | Gianni Ciccarelli | -3/+11 | |
| pr review | ||||
| 2017-04-24 | Remove strip prefix | Guillaume Gomez | -16/+2 | |
| 2017-04-24 | Add tests for module suggestions | Guillaume Gomez | -15/+28 | |
| 2017-04-24 | Fix invalid module suggestion | Guillaume Gomez | -13/+20 | |
| 2017-04-24 | support `default impl` for specialization | Gianni Ciccarelli | -7/+22 | |
| this commit implements the first step of the `default impl` feature: all items in a `default impl` are (implicitly) `default` and hence specializable. In order to test this feature I've copied all the tests provided for the `default` method implementation (in run-pass/specialization and compile-fail/specialization directories) and moved the `default` keyword from the item to the impl. See referenced issue for further info | ||||
| 2017-04-21 | Move parse_remaining_bounds into a separate function | Vadim Petrochenkov | -20/+21 | |
| 2017-04-21 | Fix issue with single question mark or paren | Vadim Petrochenkov | -23/+28 | |
| 2017-04-21 | syntax: Support parentheses around trait bounds | Vadim Petrochenkov | -4/+25 | |
| 2017-04-17 | Auto merge of #41282 - arielb1:missing-impl-item, r=petrochenkov | bors | -68/+99 | |
| libsyntax/parse: fix missing kind error reporting Fixes #41161. Fixes #41239. | ||||
| 2017-04-17 | libsyntax/parse: improve associated item error reporting | Ariel Ben-Yehuda | -68/+99 | |
| Fixes #41161. Fixes #41239. | ||||
| 2017-04-17 | Auto merge of #41345 - frewsxcv:rollup, r=frewsxcv | bors | -1/+3 | |
| Rollup of 3 pull requests - Successful merges: #41012, #41280, #41290 - Failed merges: | ||||
| 2017-04-17 | Adjust description | alexey zabelin | -1/+1 | |
| 2017-04-15 | parse interpolated visibility tokens | Alex Burka | -0/+2 | |
| 2017-04-15 | update :vis implementation to current rust | Alex Burka | -1/+1 | |
| 2017-04-13 | Address the PR review | alexey zabelin | -2/+2 | |
| 2017-04-12 | Fix old docs | alexey zabelin | -2/+2 | |
| #41158 | ||||
| 2017-04-12 | Rollup merge of #41087 - estebank:tuple-float-index, r=arielb1 | Tim Neumann | -3/+3 | |
| Use proper span for tuple index parsed as float Fix diagnostic suggestion from: ```rust help: try parenthesizing the first index | (1, (2, 3)).((1, (2, 3)).1).1; ``` to the correct: ```rust help: try parenthesizing the first index | ((1, (2, 3)).1).1; ``` Fix #41081. | ||||
| 2017-04-10 | Point at only one char on `Span::next_point` | Esteban Küber | -2/+4 | |
| Avoid pointing at two chars so the diagnostic output doesn't display a multiline span when starting beyond a line end. | ||||
| 2017-04-07 | Merge branch 'master' into ty-placeholder | Esteban Küber | -28/+88 | |
| 2017-04-05 | Rollup merge of #41050 - jseyfried:fix_derive_parsing, r=petrochenkov | Corey Farwell | -0/+20 | |
| macros: fix bug parsing `#[derive]` invocations Fixes #40962 (introduced in #40346). r? @nrc | ||||
| 2017-04-05 | Rollup merge of #40815 - estebank:issue-40006, r=GuillaumeGomez | Ariel Ben-Yehuda | -15/+42 | |
| Identify missing item category in `impl`s ```rust struct S; impl S { pub hello_method(&self) { println!("Hello"); } } fn main() { S.hello_method(); } ``` ```rust error: missing `fn` for method declaration --> file.rs:3:4 | 3 | pub hello_method(&self) { | ^ missing `fn` ``` Fix #40006. r? @pnkfelix CC @jonathandturner @GuillaumeGomez | ||||
| 2017-04-05 | Use proper span for tuple index parsed as float | Esteban Küber | -3/+3 | |
| Fix diagnostic suggestion from: ```rust help: try parenthesizing the first index | (1, (2, 3)).((1, (2, 3)).1).1; ``` to the correct: ```rust help: try parenthesizing the first index | ((1, (2, 3)).1).1; ``` | ||||
| 2017-04-04 | Merge branch 'master' into issue-32540 | Esteban Küber | -388/+356 | |
| 2017-04-03 | Fix bug parsing `#[derive]` macro invocations. | Jeffrey Seyfried | -0/+20 | |
| 2017-04-03 | Merge branch 'master' into issue-40006 | Esteban Küber | -389/+357 | |
