aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | fix: don't add duplicate `&` during completionAleksey Kladov2021-06-202-68/+72
|/ / / / /
* | | | | Merge #9344bors[bot]2021-06-201-24/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9344: fix: rename works when invoked on a reference r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | fix: rename works when invoked on a referenceAleksey Kladov2021-06-201-24/+22
| | | | | |
* | | | | | Merge #9328bors[bot]2021-06-202-25/+25
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | | | Update testkjeremy2021-06-181-1/+1
| | | | | |
| * | | | | cargo updatekjeremy2021-06-181-24/+24
| | | | | |
* | | | | | Merge #9339bors[bot]2021-06-193-91/+78
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9339: minor: Cleanup insert_use tests r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | | | Cleanup insert_use testsLukas Wirth2021-06-193-91/+78
|/ / / / /
* | | | | Merge #9338bors[bot]2021-06-191-6/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9338: minor: use minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | minor: use minicoreAleksey Kladov2021-06-191-6/+1
| | | | |
* | | | | Merge #9335bors[bot]2021-06-184-32/+118
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9335: feat: Don't insert imports outside of cfg attributed items r=Veykril a=Veykril Closes #6939 Co-authored-by: Lukas Wirth <[email protected]>
| * | | | | Don't insert imports outside of cfg attributed itemsLukas Wirth2021-06-184-32/+118
|/ / / / /
* | | | | Merge #9334bors[bot]2021-06-1814-17/+99
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9334: feat: Allow to disable import insertion on single path glob imports r=Veykril a=Veykril On by default as I feel like this is something the majority would prefer. Closes #8490 Co-authored-by: Lukas Wirth <[email protected]>
| * | | | | Allow to disable import insertion on single path glob importsLukas Wirth2021-06-1814-17/+99
| | | | | |
* | | | | | Merge #9333bors[bot]2021-06-184-36/+18
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9333: minor: use minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | minor: use minicoreAleksey Kladov2021-06-184-36/+18
| | | | | |
* | | | | | Merge #9332bors[bot]2021-06-188-257/+109
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9332: minor: use minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | minor: use minicoreAleksey Kladov2021-06-182-69/+43
| | | | | |
| * | | | | minor: use minicoreAleksey Kladov2021-06-183-27/+10
| | | | | |
| * | | | | minor: use minicoreAleksey Kladov2021-06-183-85/+13
| | | | | |
| * | | | | minor: use minicoreAleksey Kladov2021-06-182-76/+43
| | | | | |
* | | | | | Merge #9331bors[bot]2021-06-186-165/+131
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9331: internal: add index to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | internal: use minicore deref moreAleksey Kladov2021-06-185-127/+81
| | | | | |
| * | | | | internal: add index to minicoreAleksey Kladov2021-06-182-38/+50
| | | | | |
* | | | | | Merge #9330bors[bot]2021-06-186-104/+72
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9330: minor: use minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | minor: use minicoreAleksey Kladov2021-06-183-87/+69
| | | | | |
| * | | | | minor: use minicoreAleksey Kladov2021-06-183-17/+3
|/ / / / /
* | | | | Merge #9329bors[bot]2021-06-183-307/+465
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | | | | | | | | | 9329: internal: add Copy to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | internal: add Copy to minicoreAleksey Kladov2021-06-183-307/+465
|/ / /
* | | Merge #9327bors[bot]2021-06-181-6/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9327: Update css-what r=kjeremy a=kjeremy npm audit flagged our version of css-what Co-authored-by: kjeremy <[email protected]>
| * | | Update css-whatkjeremy2021-06-181-6/+6
|/ / / | | | | | | | | | npm audit flagged out version of css-what
* | | Merge #9321bors[bot]2021-06-185-54/+275
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9321: Inline generics in const and function trait completions r=Veykril a=RDambrosio016 This PR does a couple of things: - moves path_transform from ide_assists to ide_db to be shared by both assists and completions - when completing a const or a function for a trait, it will "inline" any generics in those associated items instead of leaving the generic's name. For example: ```rust trait Foo<T> { const BAR: T; fn foo() -> T; } struct Bar; impl Foo<u32> for Bar { // autocompletes to this fn foo() -> u32; // and not this (old) fn foo() -> T; // also works for associated consts and where clauses const BAR: u32 = /* */ } ``` Currently this does not work for const generics, because `PathTransform` does not seem to account for them. If this should work on const generics too, `PathTransform` will need to be changed. However, it is uncommon to implement a trait only for a single const value, so this isnt a huge concern. Co-authored-by: rdambrosio <[email protected]>
| * | | Lift ast -> hir out of the for_eachrdambrosio2021-06-181-20/+18
| | | |
| * | | Remove extra whitespacerdambrosio2021-06-181-2/+2
| | | |
| * | | Feat: inline generics in const and func trait completionsrdambrosio2021-06-185-38/+261
| | | |
* | | | Merge #9325bors[bot]2021-06-1811-22/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9325: Minor: clippy perf fixes r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Avoid string allocationLaurențiu Nicola2021-06-181-1/+1
| | | | |
| * | | | Minor clippy perf fixesLaurențiu Nicola2021-06-1811-21/+22
| |/ / /
* | | | Merge #9326bors[bot]2021-06-181-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 9326: Minor: Fix line numbering in tidy r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Fix line numbering in tidyLaurențiu Nicola2021-06-181-1/+1
|/ / /
* | | Merge #9313bors[bot]2021-06-172-2/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9313: fix: Don't complete keywords in attributes inside expressions r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | Don't complete keywords in attributes inside expressionsLukas Wirth2021-06-172-2/+5
| | | |
* | | | Merge #9320bors[bot]2021-06-174-53/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9320: internal: retire famous_defs_fixture r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | internal: retire famous_defs_fixtureAleksey Kladov2021-06-173-38/+24
| | | | | | | | | | | | | | | | | | | | This is now done declaratively via `minicore`.
| * | | | minor: simplifyAleksey Kladov2021-06-171-15/+12
| | | | |
* | | | | Merge #9319bors[bot]2021-06-175-61/+130
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9319: internal: add derive and ord support to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | internal: add derive and ord support to minicoreAleksey Kladov2021-06-175-61/+130
|/ / / /
* | | | Merge #9318bors[bot]2021-06-173-2/+202
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 9318: feat: Complete `repr` attribute parameters r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
| * | | Complete `repr` attribute parametersLukas Wirth2021-06-173-2/+202
|/ / /
* | | Merge #9317bors[bot]2021-06-175-69/+129
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9317: internal: add From to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>