aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add test for reference search on self declaration paramLukas Wirth2021-01-181-0/+20
|
* Add `MacroType` syntaxJonas Schievink2021-01-183-2/+34
|
* Merge #7291bors[bot]2021-01-1826-165/+233
|\ | | | | | | | | | | | | | | 7291: Wrap remaining self/super/crate in Name{Ref} r=matklad a=Veykril That should be the remaining special casing for `self` 🎉 Co-authored-by: Lukas Wirth <[email protected]>
| * Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-1526-165/+233
| |
* | Merge #7323bors[bot]2021-01-181-8/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7323: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | MinorAleksey Kladov2021-01-181-8/+5
| | |
* | | Use assert_never properlyAleksey Kladov2021-01-181-1/+3
|/ /
* | Merge #7320bors[bot]2021-01-181-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 7320: Enable serde_json unbounded_depth feature r=lnicola a=lnicola bors r+ Co-authored-by: LaurenÈ›iu Nicola <[email protected]>
| * | Enable serde_json unbounded_depth featureLaurențiu Nicola2021-01-181-1/+1
| | |
* | | Avoid blocking the main loop when editing Cargo.tomlAleksey Kladov2021-01-185-71/+100
|/ / | | | | | | | | | | | | | | | | | | I've noticed a bunch of "main loop too long" warnings in console when typing in Cargo.toml. Profiling showed that the culprit is `rustc --print cfg` call. I moved it to the background project loading phase, where it belongs. This highlighted a problem: we generally use single `cfg`, while it really should be per crate.
* | Add profile callAleksey Kladov2021-01-181-0/+1
| |
* | Merge #7317bors[bot]2021-01-183-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7317: Add profile call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add profile callAleksey Kladov2021-01-183-0/+5
| | |
* | | Merge #7292bors[bot]2021-01-186-27/+27
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 7292: Swap assert_eq_text\!(expected, actual) r=matklad a=u5surf Fixes #7283 Swap assert_eq_text parameters in the order (expected, actual) Co-authored-by: yugo-horie <[email protected]>
| * | Swap assert_eq_text\!(expected, actual)yugo-horie2021-01-166-27/+27
| | |
* | | Add missing inlinesAleksey Kladov2021-01-171-0/+3
| | |
* | | Less annoying `mod` completionAleksey Kladov2021-01-171-1/+1
| | | | | | | | | | | | | | | We shouldn't complete optional elements, as deleting stuff is much more annoying than adding it.
* | | :arrow_up: arenaAleksey Kladov2021-01-175-5/+5
| | |
* | | Use ‘index’ terminology for arena consistentlyAramis Razzaghipour2021-01-174-7/+7
| | |
* | | Merge #7276bors[bot]2021-01-1710-10/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7276: Remove map module from la-arena public API r=lnicola a=arzg It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private. This doesn’t compile for the same reason that #7275 doesn’t: > This pull request doesn’t compile because dependencies on la-arena go through crates.io, so existing dependencies on the crate are referencing an old version. As such, this PR will only compile once a new la-arena version has been published. Co-authored-by: Aramis Razzaghipour <[email protected]>
| * | | Remove map module from la-arena public APIAramis Razzaghipour2021-01-1510-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private.
* | | | Merge #7304bors[bot]2021-01-175-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7304: Depend on local copy of la-arena instead of crates.io’s r=lnicola a=arzg This addresses [this comment](https://github.com/rust-analyzer/rust-analyzer/pull/7276#issuecomment-760909936). #7275 and #7276 should start compiling if this is merged. Co-authored-by: Aramis Razzaghipour <[email protected]>
| * | | | Depend on local copy of la-arena instead of crates.io’sAramis Razzaghipour2021-01-175-5/+5
| | | | |
* | | | | When building an item-tree, keep fewer nodes in memoryAleksey Kladov2021-01-162-7/+25
| | | | |
* | | | | Unindent the testKirill Bulatov2021-01-161-22/+22
| | | | |
* | | | | Use specific kind for the flyimport completionsKirill Bulatov2021-01-161-5/+10
| | | | |
* | | | | Share import_assets and related entitiesKirill Bulatov2021-01-1620-332/+411
| |_|/ / |/| | |
* | | | Add test mark for skipping single use itemunexge2021-01-151-0/+3
| | | |
* | | | Create new nodes only when applying changesunexge2021-01-151-16/+31
| | | |
* | | | Add Unmerge Use assistunexge2021-01-155-3/+236
| |_|/ |/| |
* | | Merge #7288bors[bot]2021-01-1539-250/+254
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7288: Handle self/super/crate in PathSegment as NameRef r=matklad a=Veykril Wrapping self/super/crate in NameRef as per https://github.com/rust-analyzer/rust-analyzer/pull/7261#issuecomment-760023172 Co-authored-by: Lukas Wirth <[email protected]>
| * | | Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-1539-250/+254
| | | |
* | | | Merge #7287bors[bot]2021-01-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7287: Make SyntaxPtr lookup logarithmic r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Make SyntaxPtr lookup logarithmicAleksey Kladov2021-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #3934 cc https://github.com/rust-analyzer/rowan/pull/81
* | | | | Merge #7285bors[bot]2021-01-155-282/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7285: Don't duplicate rustc diagnostics fixes r=matklad a=jonas-schievink Should fix https://github.com/rust-analyzer/rust-analyzer/issues/6851 Co-authored-by: Jonas Schievink <[email protected]>
| * | | | | Don't duplicate rustc diagnostics fixesJonas Schievink2021-01-155-282/+32
| | |/ / / | |/| | |
* | | | | Merge #7286bors[bot]2021-01-159-28/+20
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7286: Remove useless wrapper r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Remove useless wrapperAleksey Kladov2021-01-159-28/+20
| |/ / /
* | | | Add test for yield_exprDaiki Ihara2021-01-152-0/+32
| | | |
* | | | Add support for yiled keywordDaiki Ihara2021-01-157-26/+93
|/ / /
* | | Insert `;` when completing keywords in letAleksey Kladov2021-01-152-7/+69
| | |
* | | SimplifyAleksey Kladov2021-01-151-27/+19
| | |
* | | Add braces when completing ifsAleksey Kladov2021-01-151-2/+2
|/ /
* | Phase out SourceFileEdits in favour of a plain HashMapLukas Wirth2021-01-1415-214/+179
| |
* | Fix assert_never invoking assert_alwaysLukas Wirth2021-01-141-1/+1
| |
* | Group file source edits by FileIdLukas Wirth2021-01-1415-176/+184
|/
* Merge #7271bors[bot]2021-01-1430-253/+28
|\ | | | | | | | | | | | | | | | | 7271: prepare to publish el libro de arena r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * prepare to publish el libro de arenaAleksey Kladov2021-01-1430-253/+28
| |
* | Merge #7270bors[bot]2021-01-147-7/+67
|\ \ | |/ |/| | | | | | | | | | | | | 7270: Introduce more appropriate assertion mechanism r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Introduce more appropriate assertion mechanismAleksey Kladov2021-01-147-7/+67
| | | | | | | | | | | | | | rust-analyzer is a long-running program, so we *should* handle assertion failures. See also https://www.sqlite.org/assert.html.