aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* simple comparison instead of regexLuciano Bestia2021-02-053-39/+8
|
* added region foldingLuciano Bestia2021-01-184-13/+92
|
* Merge #7331bors[bot]2021-01-182-1/+5
|\ | | | | | | | | | | | | | | | | | | 7331: shrink_to_fit `TokenMap`'s backing storage r=jonas-schievink a=jonas-schievink Reduces `HygieneFrameQuery`'s memory usage by like 10 MB or so bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * shrink_to_fit `TokenMap`'s backing storageJonas Schievink2021-01-182-1/+5
| |
* | Merge #7326bors[bot]2021-01-181-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 7326: Use `is_ident` when converting Path to an Identifier r=edwin0cheng a=kevaundray Co-authored-by: Kevaundray Wedderburn <[email protected]>
| * | cargo fmtKevaundray Wedderburn2021-01-181-1/+1
| | |
| * | use `is_ident` methodKevaundray Wedderburn2021-01-181-2/+2
| | |
* | | Merge #7329bors[bot]2021-01-181-0/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7329: Add test for reference search on self declaration param r=Veykril a=Veykril Closes #7316 bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | Add test for reference search on self declaration paramLukas Wirth2021-01-181-0/+20
| | | |
* | | | Merge #7327bors[bot]2021-01-181-9/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7327: Remove `item_tree::Expr` r=jonas-schievink a=jonas-schievink It's empty and unused bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Remove `item_tree::Expr`Jonas Schievink2021-01-181-9/+1
| | |/ | |/| | | | | | | It's empty and unused
* | | Merge #7324bors[bot]2021-01-185-4/+37
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 7324: Add `MacroType` r=jonas-schievink a=jonas-schievink Adds syntax-level support for macros in type position. Based on https://github.com/rust-analyzer/rust-analyzer/pull/7291 due to the ungrammar update Co-authored-by: Jonas Schievink <[email protected]>
| * | Add `MacroType` syntaxJonas Schievink2021-01-185-4/+37
|/ /
* | Merge #7291bors[bot]2021-01-1828-168/+236
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-1528-168/+236
| | |
* | | 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
| | | |
* | | | Merge #7322bors[bot]2021-01-181-1/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 7322: Use assert_never properly r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | 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
| | | |
* | | | Merge #7319bors[bot]2021-01-185-71/+100
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 7319: Avoid blocking the main loop when editing Cargo.toml r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | 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.
* | | | Merge #7318bors[bot]2021-01-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7318: Add profile call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Add profile callAleksey Kladov2021-01-181-0/+1
|/ / /
* | | Merge #7317bors[bot]2021-01-184-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7317: Add profile call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Add profile callAleksey Kladov2021-01-184-0/+6
| | | |
* | | | 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
| | | |
* | | | Merge #7314bors[bot]2021-01-171-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7314: :arrow_up: rowan r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | :arrow_up: rowanAleksey Kladov2021-01-171-2/+2
|/ / / /
* | | | Merge #7312bors[bot]2021-01-171-3/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7312: :arrow_up: rowan r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | :arrow_up: rowanAleksey Kladov2021-01-171-3/+10
|/ / / / | | | | | | | | | | | | | | | | https://github.com/rust-analyzer/rowan/pull/86, which speeds up things visibly
* | | | Merge #7311bors[bot]2021-01-172-1/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7311: Build dist-aarch64-unknown-linux-gnu releases r=lnicola a=lnicola Closes #4746 Co-authored-by: LaurenÈ›iu Nicola <[email protected]>
| * | | | Download aarch64-unknown-linux-gnu from GitHubLaurențiu Nicola2021-01-171-0/+1
| | | | |
| * | | | Build dist-aarch64-unknown-linux-gnu releasesLaurențiu Nicola2021-01-171-1/+36
| | | | |
* | | | | Merge #7309bors[bot]2021-01-171-0/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7309: Add missing inlines r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Add missing inlinesAleksey Kladov2021-01-171-0/+3
|/ / / /
* | | | Merge #7306bors[bot]2021-01-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7306: Less annoying `mod` completion r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | 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.
* | | | Merge #7305bors[bot]2021-01-177-7/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7305: :arrow_up: arena r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | :arrow_up: arenaAleksey Kladov2021-01-177-7/+7
|/ / / /
* | | | Merge #7275bors[bot]2021-01-176-53/+56
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7275: Make arena index vs ID naming consistent r=matklad a=arzg This makes naming consistent with `la_arena::RawId`. Alternatively, la-arena’s documentation could be updated to use ‘index’ terminology instead of ‘ID’ terminology, and `RawId` renamed to `RawIdx`. 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]>
| * | | | Use ‘index’ terminology for arena consistentlyAramis Razzaghipour2021-01-176-53/+56
|/ / / /
* | | | Merge #7276bors[bot]2021-01-1712-13/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1512-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-176-16/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-176-16/+10
| | | | | |
* | | | | | Merge #7300bors[bot]2021-01-163-9/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7300: When building an item-tree, keep fewer nodes in memory r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | When building an item-tree, keep fewer nodes in memoryAleksey Kladov2021-01-163-9/+27
| | | | | | |