Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup insert_use tests | Lukas Wirth | 2021-06-19 | 1 | -58/+0 |
| | |||||
* | Don't insert imports outside of cfg attributed items | Lukas Wirth | 2021-06-18 | 2 | -6/+66 |
| | |||||
* | Merge #9334 | bors[bot] | 2021-06-18 | 3 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | 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 | 3 | -3/+3 |
| | | |||||
* | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 3 | -18/+9 |
| | | |||||
* | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -8/+3 |
| | | |||||
* | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 2 | -76/+43 |
| | | |||||
* | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -11/+1 |
| | | |||||
* | | internal: add Copy to minicore | Aleksey Kladov | 2021-06-18 | 1 | -302/+409 |
| | | |||||
* | | Minor clippy perf fixes | Laurențiu Nicola | 2021-06-18 | 1 | -2/+2 |
| | | |||||
* | | minor: simplify | Aleksey Kladov | 2021-06-17 | 1 | -15/+12 |
| | | |||||
* | | internal: add derive and ord support to minicore | Aleksey Kladov | 2021-06-17 | 1 | -48/+66 |
|/ | |||||
* | internal: add From to minicore | Aleksey Kladov | 2021-06-17 | 2 | -50/+99 |
| | |||||
* | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 2 | -49/+75 |
| | |||||
* | simplify | Lukas Wirth | 2021-06-17 | 1 | -9/+7 |
| | |||||
* | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 2 | -23/+28 |
| | |||||
* | Merge #9308 | bors[bot] | 2021-06-17 | 1 | -13/+52 |
|\ | | | | | | | | | | | | | | | 9308: fix: Create modules in correct directory for nested modules in move_module assist r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Create modules in correct directory for nested modules in move_module assist | Lukas Wirth | 2021-06-17 | 1 | -13/+52 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-17 | 1 | -84/+37 |
| | | |||||
* | | internal: minimize minicore | Aleksey Kladov | 2021-06-17 | 1 | -53/+25 |
| | | | | | | | | | | | | We want to keep minicore small, so let's split out iterator adapters and sources into a separate `iterators` region, and use them only when needed. | ||||
* | | internal: cleanup tests | Aleksey Kladov | 2021-06-16 | 1 | -71/+114 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-16 | 1 | -15/+12 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-16 | 1 | -19/+15 |
|/ | |||||
* | internal: don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 2 | -35/+16 |
| | | | | See the style.md for motivation | ||||
* | internal: cleanup tests | Aleksey Kladov | 2021-06-15 | 2 | -610/+596 |
| | | | | | | * ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores | ||||
* | internal: document that we don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 1 | -16/+16 |
| | |||||
* | Don't keep a trailing self token in import paths after unmerge_use | Lukas Wirth | 2021-06-14 | 1 | -1/+15 |
| | |||||
* | Merge #9242 | bors[bot] | 2021-06-13 | 17 | -28/+28 |
|\ | | | | | | | | | | | | | | | 9242: Clippy r=matklad a=Maan2003 Best viewed commit wise Co-authored-by: Maan2003 <[email protected]> | ||||
| * | clippy::redundant_closure | Maan2003 | 2021-06-13 | 2 | -3/+3 |
| | | |||||
| * | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 16 | -25/+25 |
| | | |||||
* | | Merge #9240 | bors[bot] | 2021-06-13 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | | | | | | | 9240: Fixed a small typo in comment r=matklad a=fee1-dead Co-authored-by: fee1-dead <[email protected]> | ||||
| * | Fixed a small typo in comment | fee1-dead | 2021-06-11 | 1 | -1/+1 |
| | | |||||
* | | Merge #9215 | bors[bot] | 2021-06-11 | 1 | -2/+9 |
|\ \ | |/ |/| | | | | | | | | | | | 9215: change visibility for use and macro items r=jonas-schievink a=Maan2003 Co-authored-by: Maan2003 <[email protected]> | ||||
| * | change visibility for use and macro items | Maan2003 | 2021-06-11 | 1 | -2/+9 |
| | | |||||
* | | Don't suggest Remove unused param in trait impls | Maan2003 | 2021-06-11 | 1 | -1/+29 |
|/ | |||||
* | fmt | Joshua Warner | 2021-06-06 | 1 | -3/+12 |
| | |||||
* | Refactor to be just one assist | Joshua Warner | 2021-06-05 | 2 | -530/+328 |
| | |||||
* | Add assist for converting a tuple enum variant to a named variant | Joshua Warner | 2021-06-05 | 1 | -0/+515 |
| | |||||
* | Don't inline mutable locals in 'inline_local_variable' | Lukas Wirth | 2021-06-04 | 1 | -0/+17 |
| | |||||
* | NFC: remove redundant clones (clippy::perf) | Matthias Krüger | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | Preserve indentation | Jonas Schievink | 2021-06-02 | 1 | -5/+30 |
| | |||||
* | Account for traits | Jonas Schievink | 2021-06-02 | 1 | -10/+29 |
| | |||||
* | Merge #9108 | bors[bot] | 2021-06-02 | 1 | -2/+31 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9108: Don't show extract into variable assist for unit expressions r=jonas-schievink a=brandondong **Reproduction:** ```rust fn main() { let mut i = 3; $0if i >= 0 { i += 1; } else { i -= 1; }$0 } ``` 1. Select the snippet of code between the $0's. 2. The extract into variable assist shows up, pushing down the more useful extract into function assist. 3. The resulting output of selecting the extract into variable assist is valid but with the extracted variable having the unit type: ```rust fn main() { let mut i = 3; let var_name = if i >= 0 { i += 1; } else { i -= 1; }; var_name } ``` **Fix:** - Don't show the extract into variable assist for unit expressions. I could not think of any scenarios where such a variable extraction would be desired. Co-authored-by: Brandon <[email protected]> | ||||
| * | Don't show extract into variable assist for unit expressions | Brandon | 2021-06-02 | 1 | -2/+31 |
| | | |||||
* | | Merge #9112 | bors[bot] | 2021-06-02 | 1 | -44/+125 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9112: Fix some bugs in `extract_struct_from_enum_variant` assist r=Veykril a=Veykril bors r+ Fixes #9100 Fixes #9099 Kind of fixes #9109, it now copies all the generics might be incorrect if the variant doesn't use all of them) Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Fix references to patterns in extract_struct_from_enum_variant assist | Lukas Wirth | 2021-06-02 | 1 | -26/+51 |
| | | | |||||
| * | | Carry over attributes in extract_struct_from_enum_variant | Lukas Wirth | 2021-06-02 | 1 | -5/+32 |
| | | | |||||
| * | | Account for generics in extract_struct_from_enum_variant | Lukas Wirth | 2021-06-02 | 1 | -17/+46 |
| |/ | |||||
* / | Place extracted type alias outside of impl | Jonas Schievink | 2021-06-02 | 1 | -1/+27 |
|/ | |||||
* | clippy::redundant_clone fixes | Laurențiu Nicola | 2021-05-26 | 1 | -1/+1 |
| |