aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #5845bors[bot]2020-08-243-5/+25
|\ | | | | | | | | | | | | | | 5845: Omit lenses for not runnable doctests r=matklad a=SomeoneToIgnore Ideally, we should properly parse the doctest attributes before, but since I need it for the code lens only, this way should suffice for now Co-authored-by: Kirill Bulatov <[email protected]>
| * Omit lenses for not runnable doctestsKirill Bulatov2020-08-223-5/+25
| |
* | Merge #5851bors[bot]2020-08-243-2/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | 5851: Invert if should be smart about is_some, is_none, is_ok, is_err r=matklad a=dragfire Fixes #5827 Co-authored-by: dragfire <[email protected]>
| * | Invert if should be smart about is_some, is_none, is_ok, is_errdragfire2020-08-243-2/+45
| |/
* | Merge #5852bors[bot]2020-08-241-1/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | 5852: Add Early Return rule to style r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add Early Return rule to styleAleksey Kladov2020-08-241-1/+25
| |/
* | Merge #5853bors[bot]2020-08-241-0/+35
|\ \ | |/ |/| | | | | | | | | | | | | | | 5853: Avoid monomorphization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Avoid monomorphizationAleksey Kladov2020-08-241-0/+35
|/
* Merge #5823bors[bot]2020-08-222-8/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5823: Don't underline function definition if self is &mut r=Nashenas88 a=matklad The self is right there, and is already underlined, so it makes little sense to emit even more underlines. before: ![before](https://user-images.githubusercontent.com/1711539/90672843-0d379500-e257-11ea-840f-b0caed4410f1.png) after: ![after](https://user-images.githubusercontent.com/1711539/90672840-0c9efe80-e257-11ea-9739-23af433841c6.png) Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't underline function definition if self is &mutAleksey Kladov2020-08-192-8/+2
| | | | | | | | | | The self is right there, and is already underlined, so it makes little sense to emit even more underlines.
* | Merge #5839bors[bot]2020-08-211-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | 5839: Dont ask me why... r=kjeremy a=Veetaha Co-authored-by: Veetaha <[email protected]>
| * | Dont ask me why...Veetaha2020-08-211-1/+0
|/ /
* | Merge #5838bors[bot]2020-08-2111-19/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5838: :arrow_up: autocfg r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: autocfgAleksey Kladov2020-08-211-2/+2
| | |
| * | :arrow_up: ungrammarAleksey Kladov2020-08-2111-17/+19
|/ /
* | Merge #5835bors[bot]2020-08-2147-425/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5835: Switch to expect_test from crates.io r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Switch to expect_test from crates.ioAleksey Kladov2020-08-2145-54/+54
| | |
| * | Remove expect crateAleksey Kladov2020-08-212-371/+0
| | |
* | | Merge #5832bors[bot]2020-08-201-10/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5832: Update crates r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | Update crateskjeremy2020-08-201-10/+10
|/ /
* | Merge #5824bors[bot]2020-08-191-25/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5824: Optimize reference search r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Optimize reference searchAleksey Kladov2020-08-191-25/+38
|/ /
* | Merge #5813bors[bot]2020-08-191-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 5813: Try lld r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Use lld on winsowsAleksey Kladov2020-08-191-0/+3
| | |
* | | Merge #5822bors[bot]2020-08-191-25/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | 5822: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove dead codeAleksey Kladov2020-08-191-25/+15
| |/
* | Merge #5821bors[bot]2020-08-197-7/+163
|\ \ | |/ |/| | | | | | | | | | | | | | | 5821: **Remove Unused Parameter** refactoring r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * **Remove Unused Parameter** refactoringAleksey Kladov2020-08-197-7/+163
|/
* Merge #5820bors[bot]2020-08-195-17/+41
|\ | | | | | | | | | | | | | | | | | | 5820: Future proof find-usages API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Future proof find-usages APIAleksey Kladov2020-08-195-17/+41
|/ | | | | | We might want to provide more efficient impls for check if usages exist, limiting the search, filtering and cancellation, so let's violate YAGNI a bit here.
* Merge #5819bors[bot]2020-08-191-19/+16
|\ | | | | | | | | | | | | | | | | | | 5819: Apply couple of rule of thumbs to simplify highlighting code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Apply couple of rule of thumbs to simplify highlighting codeAleksey Kladov2020-08-191-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main one: instead of adding a parameter to function to handle special case, make the caller handle it. Second main one: make sure that function does a reasonable thing. `highlight_def` picks a color for def, *regardless* of the context the def is use. Feeding an info from the call-site muddies the responsibilities here. Minor smells, flagging the function as having space for improvement in the first place: * many parameters, some of which are set as constants on most call-sites (introduce severalfunction instad) * boolean param (add two functions instead)
* | Merge #5818bors[bot]2020-08-191-19/+11
|\| | | | | | | | | | | | | | | | | 5818: Some trivial local simiplifications r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Inline trivial functionAleksey Kladov2020-08-191-8/+6
| |
| * SimplifyAleksey Kladov2020-08-191-9/+4
| |
| * MinorAleksey Kladov2020-08-191-2/+1
| |
| * Minor cleanupsAleksey Kladov2020-08-191-1/+1
| |
| * Better nameAleksey Kladov2020-08-191-4/+4
|/
* Merge #5817bors[bot]2020-08-194-56/+30
|\ | | | | | | | | | | | | | | | | | | 5817: Better API factoring around self access modes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Better API factoring around self access modesAleksey Kladov2020-08-194-56/+30
| |
* | Merge #5816bors[bot]2020-08-191-2/+9
|\| | | | | | | | | | | | | | | | | | | 5816: Better error if Cargo is not in Path r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Better error if Cargo is not in PathAleksey Kladov2020-08-191-2/+9
| |
* | Merge #5815bors[bot]2020-08-191-2/+11
|\| | | | | | | | | | | | | | | | | | | 5815: Introduce hir::Param r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Introduce hir::ParamAleksey Kladov2020-08-191-2/+11
|/ | | | | We generally shouldn't expose TypeRef out of hir. So, let's just use a placehoder here.
* Merge #5814bors[bot]2020-08-199-43/+62
|\ | | | | | | | | | | | | | | | | | | 5814: Add SelfParam to code_model r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Add SelfParam to code_modelAleksey Kladov2020-08-199-43/+62
| |
* | Merge #5812bors[bot]2020-08-191-7/+6
|\| | | | | | | | | | | | | | | | | | | 5812: Minor cleanups r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Minor cleanupsAleksey Kladov2020-08-191-7/+6
|/
* Merge #5811bors[bot]2020-08-191-3/+3
|\ | | | | | | | | | | | | | | | | | | 5811: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-08-191-3/+3
| |