aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #5907bors[bot]2020-08-2826-25/+25
|\ | | | | | | | | | | | | | | | | | | 5907: :arrow_up: expect-test r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: expect-testAleksey Kladov2020-08-2826-25/+25
| |
* | Merge #5906bors[bot]2020-08-283-1/+215
|\ \ | |/ |/| | | | | | | | | | | 5906: Use SVG logo in readme r=matklad a=arzg This also adds the two versions of the logo created by @Aloso to `/assets` for any future uses. I found the logo SVGs in [this issue](https://github.com/rust-analyzer/rust-analyzer.github.io/issues/23). Co-authored-by: Aramis Razzaghipour <[email protected]>
| * Replace logo in readme with SVG versionAramis Razzaghipour2020-08-281-1/+3
| |
| * Add SVG logos to assets directoryAramis Razzaghipour2020-08-282-0/+212
|/
* Merge #5900bors[bot]2020-08-273-32/+29
|\ | | | | | | | | | | | | | | | | | | 5900: :arrow_up: crates r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: cratesAleksey Kladov2020-08-273-32/+29
| |
* | Merge #5899bors[bot]2020-08-278-29/+38
|\| | | | | | | | | | | | | | | | | | | 5899: Add track_env_var to the proc macro server r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * CONST LOOPS ARE HEREAleksey Kladov2020-08-278-29/+38
|/
* Merge #5898bors[bot]2020-08-271-1/+2
|\ | | | | | | | | | | | | | | | | | | 5898: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-08-271-1/+2
|/
* Merge #5895bors[bot]2020-08-269-337/+297
|\ | | | | | | | | | | | | | | | | | | 5895: Tease apart orthogonal concerns in markdown link rewriting r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Tease apart orthogonal concerns in markdown link rewritingAleksey Kladov2020-08-269-337/+297
| | | | | | | | | | | | | | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits.
* | Merge #5893bors[bot]2020-08-262-2/+9
|\ \ | |/ |/| | | | | | | | | | | | | | | 5893: Allow running a test as a binary r=matklad a=jonas-schievink If a test uses `harness = false`, it just contains an `fn main` that is executed via `cargo test`. This adds support for that. Note though that Cargo doesn't actually tell us whether `harness = false`, so this hint will always show up when you put an `fn main` into an integration test. Normally people shouldn't be doing that if they do use the harness though. Co-authored-by: Jonas Schievink <[email protected]>
| * Allow running a test as a binaryJonas Schievink2020-08-262-2/+9
| |
* | Merge #5894bors[bot]2020-08-261-88/+74
|\ \ | |/ |/| | | | | | | | | | | | | | | 5894: Cleanup hover links tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Cleanup hover links testsAleksey Kladov2020-08-261-88/+74
|/
* Merge #5887bors[bot]2020-08-262-19/+170
|\ | | | | | | | | | | | | | | 5887: Improve fenced code block support for doctests r=fmease a=fmease Fixes #5783 Co-authored-by: León Orell Valerian Liehr <[email protected]>
| * Improve support for code block attributesLeón Orell Valerian Liehr2020-08-262-19/+170
| |
* | Merge #5879bors[bot]2020-08-261-5/+3
|\ \ | |/ |/| | | | | | | | | | | | | 5879: Update mentions of 'ra_vfs' in architecture doc r=matklad a=rherrmann Adjust the paragraph about `ra_vfs` to point to the `vfs` crate that is used now. Co-authored-by: Rüdiger Herrmann <[email protected]>
| * Update mentions of 'ra_vfs' in architecture docRüdiger Herrmann2020-08-251-5/+3
| | | | | | Adjust the paragraph about `ra_vfs` to point to the `vfs` crate that is used now.
* | Merge #5885bors[bot]2020-08-263-49/+117
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5885: Make inlay hints colors more configurable r=matklad a=Veetaha **[BREAKING CHANGE]** Tackles https://github.com/rust-analyzer/rust-analyzer/issues/5337#issuecomment-680018601 and generally related to #5337. Added `foreground/background` color configurations with optional more specific overrides `foreground.(type|parameter|chaining)Hints`. One problem I see is that the config keys are long and don't fit into the on-hover hints in the `settings.json` file entirely... <details> <summary>Demo</summary> ![demo](https://user-images.githubusercontent.com/36276403/91238334-77fc3b00-e745-11ea-836b-2822015ece98.gif) </details> Co-authored-by: Veetaha <[email protected]>
| * | Make inlay hints colors more configurableVeetaha2020-08-263-49/+117
| | |
* | | Merge #5890bors[bot]2020-08-261-17/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5890: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | SimplifyAleksey Kladov2020-08-261-17/+4
|/ / /
* | | Merge #5889bors[bot]2020-08-265-327/+257
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5889: Allow logging to file r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | SimplifyAleksey Kladov2020-08-261-106/+69
| | | |
| * | | Simplify helpAleksey Kladov2020-08-263-224/+99
| | | |
| * | | Allow redirecting logs to a specific fileAleksey Kladov2020-08-264-11/+103
| |/ / | | | | | | | | | | | | There's a surprising lack of crates which are like env_logger, but also allow writing to a file. Let's write our own then!
* | | Merge #5888bors[bot]2020-08-261-2/+29
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 5888: **Inline Variable** works with field shorthand r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | **Inline Variable** works with field shorthandAleksey Kladov2020-08-261-2/+29
|/ /
* | Merge #5884bors[bot]2020-08-253-22/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5884: Add sysroot shortcut to rust-project.json r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add sysroot shortcut to rust-project.jsonAleksey Kladov2020-08-253-22/+70
|/ /
* | Merge #5883bors[bot]2020-08-252-37/+42
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5883: Cleanup heavy tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Cleanup heavy testsAleksey Kladov2020-08-252-37/+42
|/ /
* | Merge #5882bors[bot]2020-08-252-24/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5882: Don't expose indexing details r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Don't expose indexing detailsAleksey Kladov2020-08-252-24/+20
|/ /
* | Merge #5881bors[bot]2020-08-251-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5881: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | MinorAleksey Kladov2020-08-251-2/+1
| | |
* | | Merge #5880bors[bot]2020-08-251-3/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 5880: Opportunistically check indel overlap r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Provide better stack trace for overlapping editsAleksey Kladov2020-08-251-3/+9
| | | | | | | | | | | | | | | | | | | | | Overlapping indels are a bug. Checking this *always* is tricky (needs a sorted data structure to not suffer O(N^2) perf). But opportunistically checking small indels should give provide 80% of the benefits.
* | | Merge #5878bors[bot]2020-08-252-105/+73
|\| | | |/ |/| | | | | | | | | | | | | | | 5878: Prepare to share sysroot lowering code between Cargo & ProjectJSON r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-252-105/+73
|/
* Merge #5877bors[bot]2020-08-257-8/+76
|\ | | | | | | | | | | | | | | | | | | 5877: Complete `pub` in fields r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete `pub` in fieldsAleksey Kladov2020-08-257-8/+76
| |
* | Merge #5876bors[bot]2020-08-252-54/+61
|\| | | | | | | | | | | | | | | | | | | 5876: Prep work for overriding sysroot r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Prep work for overriding sysrootAleksey Kladov2020-08-252-54/+61
|/ | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects.
* Merge #5875bors[bot]2020-08-252-34/+43
|\ | | | | | | | | | | | | | | | | | | 5875: Remove monomorphisation from doclinks resolving code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove monomorphisation from doclinks resolving codeAleksey Kladov2020-08-252-34/+43
|/
* Merge #5873bors[bot]2020-08-251-2/+2
|\ | | | | | | | | | | | | | | 5873: Correct sed replacement when called in a bash file r=matklad a=pksunkara There's so much trial and error regarding shells and stuff I needed to do to get this correctly working on github runner. Co-authored-by: Pavan Kumar Sunkara <[email protected]>