aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Match implementation of diagnostics flag to the docsAleksey Kladov2020-04-221-1/+1
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge #4089bors[bot]2020-04-222-50/+109
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4089: npm update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | | | | | | npm updatekjeremy2020-04-222-50/+109
| | | | | | | | |
* | | | | | | | | Merge #4088bors[bot]2020-04-221-8/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4088: cargo update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | | | | | | cargo updatekjeremy2020-04-221-8/+8
|/ / / / / / / /
* | | | | | | | Merge #4082bors[bot]2020-04-221-8/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4082: Don't panic on `rust-analyzer --help` r=matklad a=eminence Special case handling for `-h` and `--help` if no subcommand is given. Closes #4068 Co-authored-by: Andrew Chin <[email protected]>
| * | | | | | | | Don't panic on `rust-analyzer --help`Andrew Chin2020-04-221-8/+16
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Special case handling for `-h` and `--help` if no subcommand is given. Closes #4068
* | | | | | | | Merge #4081bors[bot]2020-04-221-2/+35
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4081: Work around crlf in syntax tree r=matklad a=Veetaha Workarounds fixes #4067 Co-authored-by: veetaha <[email protected]>
| * | | | | | | | Refactor the workaround a bitveetaha2020-04-221-19/+16
| | | | | | | | |
| * | | | | | | | Work around crlf in syntax treeveetaha2020-04-221-2/+38
| |/ / / / / / /
* | | | | | | | Merge #4080bors[bot]2020-04-221-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4080: Fix .rast tmGrammar to account for numbers in identifiers r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * | | | | | | Fix .rast tmGrammar to account for numbers in identifiersveetaha2020-04-221-1/+1
| | | | | | | |
* | | | | | | | Merge #4078bors[bot]2020-04-212-5/+47
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4078: Do not add default and closure types in 'add explicit type' assist r=matklad a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]>
| * | | | | | | | Do not add default and closure types in 'add explicit type' assistKirill Bulatov2020-04-212-5/+47
|/ / / / / / / /
* | | | | | | | Merge #4076bors[bot]2020-04-213-10/+98
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4076: Improve remove derive attrs r=matklad a=edwin0cheng This PR implemented a proper `remove_derive_attrs` function which **merely** remove any `#[derive(*)]` attributes. Co-authored-by: Edwin Cheng <[email protected]>
| * | | | | | | | Improve remove dervie attrsEdwin Cheng2020-04-213-10/+98
| |/ / / / / / /
* | | | | | | | Merge #4038bors[bot]2020-04-212-1582/+1592
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4038: Group generated ast boilerplate apart from the interesting part r=matklad a=Veetaha Boilerplate `AstNode` and `From` impls are moved to the end further from the interesting part in `generated.rs` Co-authored-by: veetaha <[email protected]>
| * | | | | | | Group generated ast boilerplate apart from the interesting partveetaha2020-04-182-1582/+1592
| | | | | | | |
* | | | | | | | Merge #4071bors[bot]2020-04-211-7/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4071: Cleanup args a bit r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | Cleanup args a bitAleksey Kladov2020-04-211-7/+9
| | | | | | | | |
* | | | | | | | | Merge #4070bors[bot]2020-04-211-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4070: docs(readme): improve user docs r=matklad a=fannheyward cleanup unavailable configurations/commands Co-authored-by: Heyward Fann <[email protected]>
| * | | | | | | | | docs(readme): improve user docsHeyward Fann2020-04-211-2/+2
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup unavailable configurations/commands
* | | | | | | | | Merge #4069bors[bot]2020-04-211-14/+25
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4069: More detailed Sublime Text install instructions r=lnicola a=nnmm * People might typically jump directly to their editor and wonder where the part about installing rust-analyzer is – at least I did. I added a link to the relevant section for ST. * Make ST instructions more detailed and user friendly (especially beginners), include troubleshooting tips. * Minor grammar improvements throughout. Co-authored-by: Nikolai Morin <[email protected]>
| * | | | | | | | Move the PATH issue up to the non-editor specific sectionNikolai Morin2020-04-211-1/+3
| | | | | | | | |
| * | | | | | | | Delete commaNikolai Morin2020-04-211-1/+1
| | | | | | | | |
| * | | | | | | | Update docs/user/readme.adocNikolai Morin2020-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
| * | | | | | | | Update docs/user/readme.adocNikolai Morin2020-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
| * | | | | | | | More detailed Sublime Text install instructionsNikolai Morin2020-04-211-14/+23
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * People might typically jump directly to their editor and wonder where the part about installing rust-analyzer is – at least I did. I added a link to the relevant section for ST. * Make ST instructions more detailed and user friendly (especially beginners), include troubleshooting tips. * Minor grammar improvements throughout.
* | | | | | | | Merge #4066bors[bot]2020-04-201-51/+52
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4066: Fix restart missing arguments in proc-macro-srv r=edwin0cheng a=edwin0cheng cc @Veetaha Co-authored-by: Edwin Cheng <[email protected]>
| * | | | | | | Refactor a bitEdwin Cheng2020-04-201-54/+51
| | | | | | | |
| * | | | | | | Fix restart missing arguments in proc-macro-srvEdwin Cheng2020-04-201-5/+9
|/ / / / / / /
* | | | | | | Merge #4061bors[bot]2020-04-2012-191/+142
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4061: ra_proc_macro: cleanups here and there r=edwin0cheng a=Veetaha r? @edwin0cheng Co-authored-by: veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]>
| * | | | | | | Migrate to Result<T, io::Error> -> io::Result<T>veetaha2020-04-201-3/+3
| | | | | | | |
| * | | | | | | Fix doc commentveetaha2020-04-201-3/+3
| | | | | | | |
| * | | | | | | Fix typoVeetaha2020-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
| * | | | | | | Display path not debug itVeetaha2020-04-202-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
| * | | | | | | Display path not debug itVeetaha2020-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
| * | | | | | | ra_proc_macro: cleanups here and thereveetaha2020-04-2012-190/+141
| | | | | | | |
* | | | | | | | Merge #4060bors[bot]2020-04-206-35/+170
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4060: Update Chalk, and cache Chalk env elaboration through a query r=matklad a=flodiebold This should fix some of the worst performance problems. Co-authored-by: Florian Diebold <[email protected]>
| * | | | | | | | Update Chalk, and cache Chalk env elaboration through a queryFlorian Diebold2020-04-206-35/+170
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | This should fix some of the worst performance problems.
* | | | | | | | Merge #4057bors[bot]2020-04-203-4/+17
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4057: Fix panic in split_imports assist r=matklad a=matklad The fix is admittedly quit literally just papering over. Long-term, I see two more principled approaches: * we switch to a fully tree-based impl, without parse . to_string step; with this approach, there shouldn't be any panics. The results might be nonsensical, but so was the original input. * we preserve the invariant that re-parsing constructed node is an identity, and make all the `make_xxx` method return an `Option`. closes #4044 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | Fix panic in split_imports assistAleksey Kladov2020-04-203-4/+17
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is admittedly quit literally just papering over. Long-term, I see two more principled approaches: * we switch to a fully tree-based impl, without parse . to_string step; with this approach, there shouldn't be any panics. The results might be nonsensical, but so was the original input. * we preserve the invariant that re-parsing constructed node is an identity, and make all the `make_xxx` method return an `Option`. closes #4044
* | | | | | | | Merge #4047bors[bot]2020-04-1911-19/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4047: Some clippy fixes r=matklad a=kjeremy Mostly removes redundant `clone` and `into` Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | | | | | Some clippy fixesJeremy Kolb2020-04-1911-19/+16
|/ / / / / / / /
* | | | | | | | Merge #4045bors[bot]2020-04-191-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4045: Update regex r=kjeremy a=kjeremy Changelog says it reduces unnecessary recompilation of transitive dependencies in some cases. https://github.com/rust-lang/regex/pull/665 Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | | | | Update regexJeremy Kolb2020-04-191-2/+2
|/ / / / / / /
* | | | | | | Merge #4036bors[bot]2020-04-189-6/+87
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4036: Fix a bunch of unresovled references r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | Correctly infer types in guard expressionsAleksey Kladov2020-04-182-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The root cause was that we forgot to add bindings from the arm to the guard expression closes #3980
| * | | | | | | Fix goto definition for record patternsAleksey Kladov2020-04-187-6/+57
| | | | | | | |
* | | | | | | | Merge #4035bors[bot]2020-04-185-14/+47
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4035: Convert bool to ident instead of literal in mbe r=matklad a=edwin0cheng Fixed #1249 Currently we treat boolean literal as `tt::Literal` , which makes parsing $lit:lit matcher easily. However, proc-macro2 treat boolean literal as `ident` : https://github.com/alexcrichton/proc-macro2/blob/4173a21dc497c67326095e438ff989cc63cd9279/src/lib.rs#L939 OT: I am quite happy we finally need to fix this bug :) Co-authored-by: Edwin Cheng <[email protected]>