aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* internal: explain why sentence-per-lineAleksey Kladov2021-05-061-1/+1
|
* Merge #8742bors[bot]2021-05-061-8/+65
|\ | | | | | | | | | | | | | | | | 8742: fix: Do not overwrite comments and attrs in trait impl completion r=Veykril a=Jesse-Bakker Fixes #8739 Co-authored-by: Jesse Bakker <[email protected]>
| * Fix: Do not overwrite comments and attrs in trait impl completionJesse Bakker2021-05-061-8/+65
|/
* Merge #8674bors[bot]2021-05-052-0/+46
|\ | | | | | | | | | | | | | | | | | | 8674: fix for #8664: Emit folding ranges for multi-line where clauses r=matklad a=m5tfi #8664 I added a test that assert folding multi-line where clauses while leaving single lined one. Please, let me know if the code needs further improvements. Co-authored-by: m5tfi <[email protected]>
| * remove unneeded `visited_where_clauses`m5tfi2021-05-051-11/+3
| |
| * add folding for where clausesm5tfi2021-04-302-0/+54
| |
* | Merge #8736bors[bot]2021-05-051-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 8736: Update salsa r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | Update salsaJonas Schievink2021-05-051-2/+2
| | |
* | | Merge #8735bors[bot]2021-05-056-41/+40
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 8735: simplify r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * | simplifyLukas Tobias Wirth2021-05-056-41/+40
| | |
* | | Merge #8733bors[bot]2021-05-041-5/+8
|\| | | | | | | | | | | | | | | | | | | | | | | 8733: Add some cov marks for qualified_path completion r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * | Add some cov marks for qualified_path completionLukas Tobias Wirth2021-05-041-5/+8
|/ /
* | Merge #8732bors[bot]2021-05-044-200/+238
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8732: internal: refactor expansion queries r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Document expansion queriesAleksey Kladov2021-05-041-0/+21
| | |
| * | simplify macro expansion codeAleksey Kladov2021-05-042-27/+50
| | | | | | | | | | | | | | | Using `Option` arguments such that you always pass `None` or `Some` at the call site is a code smell.
| * | make illegal states unrepresentableAleksey Kladov2021-05-043-49/+48
| | | | | | | | | | | | only declarative macros have def-site token map
| * | CleanupsAleksey Kladov2021-05-041-139/+134
|/ /
* | Merge #8731bors[bot]2021-05-041-7/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8731: Complete enum variants through type aliases r=Veykril a=Veykril Fixes #8730 bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * | Complete enum variants through type aliasesLukas Tobias Wirth2021-05-041-7/+33
| | |
* | | Merge #8727bors[bot]2021-05-041-11/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8727: minor: use standard import style r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | minor: use standard import styleAleksey Kladov2021-05-041-11/+11
| | | |
* | | | Merge #8726bors[bot]2021-05-041-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8726: internal: reduce visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | internal: reduce visibilityAleksey Kladov2021-05-041-3/+3
| | | |
* | | | Merge #8725bors[bot]2021-05-041-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8725: internal: env var to toggle slow benches r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | internal: env var to toggle slow benchesAleksey Kladov2021-05-041-4/+2
| |/ / /
* | | | Merge #8724bors[bot]2021-05-041-0/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 8724: minor: unconfuse myself about macro def vs macro rules r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | minor: unconfuse myself about macro def vs macro rulesAleksey Kladov2021-05-041-0/+5
|/ / /
* | | Merge #8720bors[bot]2021-05-043-75/+187
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8720: internal: add integrated completion benchmark r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | internal: add integrated completion benchmarkAleksey Kladov2021-05-043-75/+187
| | | |
| * | | More searchable nameAleksey Kladov2021-05-041-1/+1
| | | |
* | | | Merge #8719bors[bot]2021-05-043-4/+12
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 8719: Fix block comment intra doc link injection ranges r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * | | Fix block comment intra doc link injection rangesLukas Tobias Wirth2021-05-043-4/+12
| | | |
* | | | Merge #8711bors[bot]2021-05-0411-97/+518
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8711: Only resolve selected assist r=matklad a=SomeoneToIgnore Part of https://github.com/rust-analyzer/rust-analyzer/issues/8700 Now resolves only the assist that was selected out of the list, while before the whole assist list was resolved despite a single popup selection. Co-authored-by: Kirill Bulatov <[email protected]>
| * | | Code review fixesKirill Bulatov2021-05-034-18/+29
| | | |
| * | | Index retrieval fixKirill Bulatov2021-05-032-2/+12
| | | |
| * | | Touch lsp-extensions.mdKirill Bulatov2021-05-031-0/+3
| | | |
| * | | Small fixesKirill Bulatov2021-05-032-3/+3
| | | |
| * | | Tests addedKirill Bulatov2021-05-032-2/+242
| | | |
| * | | Less panics in the assist resolutionKirill Bulatov2021-05-031-2/+10
| | | |
| * | | Add docs and use better namingKirill Bulatov2021-05-033-8/+25
| | | |
| * | | Resolve single assist onlyKirill Bulatov2021-05-039-32/+78
| | | |
| * | | Add a way to resolve certain assistsKirill Bulatov2021-05-0310-92/+178
| | | |
* | | | Merge #8714bors[bot]2021-05-042-23/+49
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8714: internal: remove one more usage of the rewriter r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | internal: remove one more usage of the rewriterAleksey Kladov2021-05-042-23/+49
| | | | |
* | | | | Merge #8716bors[bot]2021-05-043-13/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8716: Replace `memmap` with `memmap2` in `proc_macro_api` r=edwin0cheng a=memoryruins #7522 did the same for `proc_macro_srv` before this usage of `memmap` was introduced to `proc_macro_api` in #6822 . Something like [`cargo-deny`](https://github.com/EmbarkStudios/cargo-deny-action) could help prevent specific crates (and versions, licenses, etc) from being introduced into the crate tree, but that's unrelated to this pull request. Co-authored-by: memoryruins <[email protected]>
| * | | | | Replace `memmap` to `memmap2` in `proc_macro_api`memoryruins2021-05-043-13/+3
|/ / / / /
* | | | | Merge #8715bors[bot]2021-05-032-117/+113
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8715: Make CompletionContext expected_type smarter r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * | | | Make CompletionContext expected_type smarterLukas Tobias Wirth2021-05-032-117/+113
| | |/ / | |/| |
* | | | Merge #8482bors[bot]2021-05-031-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8482: Mention how to customize unsafe operation styles r=matklad a=danielzfranklin I was confused about how to do this, so I filed #8474. I apologize for initially filing this incorrectly and spamming people. Co-authored-by: Daniel Franklin <[email protected]>
| * | | | Merge with semantic style sectionDaniel Franklin2021-05-031-8/+25
| | | | |