aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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]>
| * Correct sed replacement when called in a bash filePavan Kumar Sunkara2020-08-251-2/+2
| |
* | Merge #5874bors[bot]2020-08-254-66/+52
|\ \ | |/ |/| | | | | | | | | | | | | | | 5874: Remove AttrDef r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove AttrDefAleksey Kladov2020-08-254-66/+52
|/
* Merge #5870bors[bot]2020-08-253-126/+140
|\ | | | | | | | | | | | | | | | | 5870: Move code_model attrs to a new module r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-08-251-6/+6
| |
| * Move attrs from code_module to a separate moduleAleksey Kladov2020-08-253-126/+140
| |
* | Merge #5869bors[bot]2020-08-251-9/+6
|\| | | | | | | | | | | | | | | | | | | 5869: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-08-251-9/+6
|/
* Merge #5867bors[bot]2020-08-255-12/+7
|\ | | | | | | | | | | | | | | | | | | 5867: Use the same abstraction for attrs and docs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Use the same abstraction for attrs and docsAleksey Kladov2020-08-255-12/+7
|/ | | | | Doc comments *are* attributes, so there's no reason to have two crates here.