Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix extract_function with await | Daiki Ihara | 2021-06-21 | 1 | -2/+5 |
| | |||||
* | Fix `benchmark_include_macro` | Florian Diebold | 2021-06-20 | 1 | -1/+1 |
| | |||||
* | More cleanups, use `check` for `display_source_code` tests | Florian Diebold | 2021-06-20 | 2 | -85/+67 |
| | |||||
* | Clean up coercion tests | Florian Diebold | 2021-06-20 | 1 | -552/+117 |
| | |||||
* | test_utils: Make overlapping annotations possible | Florian Diebold | 2021-06-20 | 1 | -6/+44 |
| | |||||
* | Unify check_mismatches and check_types | Florian Diebold | 2021-06-20 | 9 | -380/+353 |
| | |||||
* | Add coverage mark for block local impls | Florian Diebold | 2021-06-20 | 1 | -1/+4 |
| | |||||
* | fix: don't add duplicate `&` during completion | Aleksey Kladov | 2021-06-20 | 2 | -68/+72 |
| | |||||
* | Merge #9344 | bors[bot] | 2021-06-20 | 1 | -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 reference | Aleksey Kladov | 2021-06-20 | 1 | -24/+22 |
| | | |||||
* | | Merge #9328 | bors[bot] | 2021-06-20 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Update test | kjeremy | 2021-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Cleanup insert_use tests | Lukas Wirth | 2021-06-19 | 3 | -91/+78 |
| | | | |||||
* | | | Merge #9338 | bors[bot] | 2021-06-19 | 1 | -6/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9338: minor: use minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | | minor: use minicore | Aleksey Kladov | 2021-06-19 | 1 | -6/+1 |
| | | | | |||||
* | | | | Don't insert imports outside of cfg attributed items | Lukas Wirth | 2021-06-18 | 4 | -32/+118 |
| | | | | |||||
* | | | | Merge #9334 | bors[bot] | 2021-06-18 | 12 | -17/+89 |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 imports | Lukas Wirth | 2021-06-18 | 12 | -17/+89 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 4 | -36/+18 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 2 | -69/+43 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 3 | -27/+10 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 3 | -85/+13 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 2 | -76/+43 |
| | | | | |||||
* | | | | internal: use minicore deref more | Aleksey Kladov | 2021-06-18 | 5 | -127/+81 |
| | | | | |||||
* | | | | internal: add index to minicore | Aleksey Kladov | 2021-06-18 | 2 | -38/+50 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 3 | -87/+69 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 3 | -17/+3 |
| |_|/ |/| | | |||||
* | | | internal: add Copy to minicore | Aleksey Kladov | 2021-06-18 | 3 | -307/+465 |
| |/ |/| | |||||
* | | Merge #9321 | bors[bot] | 2021-06-18 | 5 | -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_each | rdambrosio | 2021-06-18 | 1 | -20/+18 |
| | | | |||||
| * | | Remove extra whitespace | rdambrosio | 2021-06-18 | 1 | -2/+2 |
| | | | |||||
| * | | Feat: inline generics in const and func trait completions | rdambrosio | 2021-06-18 | 5 | -38/+261 |
| | | | |||||
* | | | Avoid string allocation | Laurențiu Nicola | 2021-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Minor clippy perf fixes | Laurențiu Nicola | 2021-06-18 | 11 | -21/+22 |
|/ / | |||||
* | | Merge #9313 | bors[bot] | 2021-06-17 | 2 | -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 expressions | Lukas Wirth | 2021-06-17 | 2 | -2/+5 |
| | | | |||||
* | | | internal: retire famous_defs_fixture | Aleksey Kladov | 2021-06-17 | 3 | -38/+24 |
| | | | | | | | | | | | | This is now done declaratively via `minicore`. | ||||
* | | | minor: simplify | Aleksey Kladov | 2021-06-17 | 1 | -15/+12 |
| | | | |||||
* | | | internal: add derive and ord support to minicore | Aleksey Kladov | 2021-06-17 | 5 | -61/+130 |
| | | | |||||
* | | | Complete `repr` attribute parameters | Lukas Wirth | 2021-06-17 | 3 | -2/+202 |
| |/ |/| | |||||
* | | internal: add From to minicore | Aleksey Kladov | 2021-06-17 | 5 | -62/+129 |
| | | |||||
* | | minor: dead code | Aleksey Kladov | 2021-06-17 | 1 | -7/+0 |
| | | |||||
* | | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 6 | -78/+94 |
| | | |||||
* | | Merge #9315 | bors[bot] | 2021-06-17 | 81 | -354/+334 |
|\ \ | |/ |/| | | | | | | | | | | | 9315: Nest all the or-patterns! r=Veykril a=Veykril `cargo +nightly clippy --fix -Z unstable-options --allow-dirty -- -A clippy::all -D clippy::unnested_or_patterns` Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Fix parser tests for 1.53 | Lukas Wirth | 2021-06-17 | 54 | -198/+198 |
| | | |||||
| * | simplify | Lukas Wirth | 2021-06-17 | 3 | -11/+9 |
| | | |||||
| * | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 25 | -150/+132 |
| | | |||||
* | | Correct completions in items tests | Lukas Wirth | 2021-06-17 | 5 | -24/+57 |
| | | |||||
* | | Move item specific completion tests | Lukas Wirth | 2021-06-17 | 6 | -71/+111 |
| | | |||||
* | | Less filtering in completion tests | Lukas Wirth | 2021-06-17 | 7 | -98/+96 |
|/ |