aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #8761bors[bot]2021-05-081-8/+32
|\ | | | | | | | | | | | | | | | | 8761: feat: friendlier trouble shooting guide r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * feat: friendlier trouble shooting guideAleksey Kladov2021-05-081-8/+32
|/
* Merge #8760bors[bot]2021-05-082-225/+381
|\ | | | | | | | | | | | | | | | | 8760: :arrow_up: package-lock.json r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: package-lock.jsonAleksey Kladov2021-05-082-225/+381
|/
* Merge #8759bors[bot]2021-05-081-0/+27
|\ | | | | | | | | | | | | | | 8759: docs: Add Kate installation section r=matklad a=meven Replaces https://github.com/rust-analyzer/rust-analyzer.github.io/pull/111#issuecomment-834797031 Co-authored-by: Méven Car <[email protected]>
| * docs: Add Kate installation sectionMéven Car2021-05-081-0/+27
|/
* Merge #8755bors[bot]2021-05-072-4/+4
|\ | | | | | | | | | | | | | | | | 8755: fix: direct people to the right repository r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * fix: direct people to the right repositoryAleksey Kladov2021-05-072-4/+4
|/
* Merge #8753bors[bot]2021-05-074-1/+8
|\ | | | | | | | | | | | | | | | | 8753: internal: expose cfg attrs from hir::Crate r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * internal: expose cfg attrs from hir::CrateAleksey Kladov2021-05-074-1/+8
|/
* Merge #8752bors[bot]2021-05-073-36/+36
|\ | | | | | | | | | | | | | | | | | | 8752: Switch from jemalloc to tikv-jemalloc r=matklad a=djrenren Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8252. No idea if we're still interested in this but it was a simple change so here's the PR. Co-authored-by: John Renner <[email protected]>
| * Use package renaming so source doesn't say tikvJohn Renner2021-05-072-4/+4
| |
| * Switch from jemalloc to tikv-jemallocJohn Renner2021-05-073-38/+38
|/
* Merge #8751bors[bot]2021-05-071-6/+13
|\ | | | | | | | | | | | | | | | | 8751: minor: standard snippet r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * minor: standard snippetAleksey Kladov2021-05-071-6/+13
| |
* | Merge #8748bors[bot]2021-05-072-2/+32
|\ \ | |/ |/| | | | | | | | | | | | | | | 8748: fix: use raw idents in `make::{name, name_ref}` when used with a keyword r=jonas-schievink a=jonas-schievink fixes https://github.com/rust-analyzer/rust-analyzer/issues/8680 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * fix: use raw idents in `make::name{_ref}` with keywordsJonas Schievink2021-05-072-2/+32
|/
* Merge #8745bors[bot]2021-05-062-0/+24
|\ | | | | | | | | | | | | | | | | 8745: Support goto_type_definition for types r=matklad a=Veykril I'm unsure if the approach of lowering an `ast::Type` to a `hir::Type` is a good idea, it seems fine to me at least. Fixes #2882 Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * Support goto_type_definition for typesLukas Tobias Wirth2021-05-062-0/+24
| |
* | Merge #8280bors[bot]2021-05-067-32/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8280: Borrow text of immutable syntax node r=iDawer a=iDawer In https://github.com/rust-analyzer/rowan/pull/101 `rowan::SyntaxNode::green` returns `Cow<'_, GreenNodeData>`. It returns borrow of green node of immutable syntax tree node. Using this we can return borrowed text from `ast::Name::text`. ~~However now it allocates in case of mutable syntax trees.~~ (see next comment) The idea comes from https://github.com/rust-analyzer/rowan/pull/100#issuecomment-809330325 Co-authored-by: Dawer <[email protected]>
| * | Fix buildDawer2021-05-061-1/+1
| | |
| * | Hide implementation details of TokenTextDawer2021-05-062-8/+20
| | |
| * | Clean upDawer2021-05-061-15/+2
| | |
| * | Borrow text from nodes of immutable syntax treesDawer2021-05-062-25/+49
| | |
| * | Adapt to a new rowan borrowing node API.Dawer2021-05-062-2/+2
| | |
| * | Update to rowan 0.13.0-pre.5Dawer2021-05-062-3/+3
| | |
* | | Merge #8746bors[bot]2021-05-0619-81/+180
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8746: Don't store call-site text offsets in hygiene info r=matklad a=jonas-schievink This threads a lot more database references around in order to avoid storing a bare `TextOffset` in the hygiene info. This `TextOffset` made hygiene info and `ItemTree`s more volatile than they should be, leading to excessive recomputation of `ItemTree`s. The incremental test added in https://github.com/rust-analyzer/rust-analyzer/pull/8721 is now passing with these changes. closes https://github.com/rust-analyzer/rust-analyzer/pull/8721 Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Reuse database in LowerCtxJonas Schievink2021-05-067-20/+15
| | | |
| * | | Update crates/hir_def/src/nameres/tests/incremental.rsAleksey Kladov2021-05-061-1/+1
| | | | | | | | | | | | Co-authored-by: Jonas Schievink <[email protected]>
| * | | internal: add failing incremental testAleksey Kladov2021-05-061-0/+52
| | | |
| * | | Don't store call-site text offsets in hygiene infoJonas Schievink2021-05-0619-93/+145
|/ / /
* | | Merge #8718bors[bot]2021-05-067-90/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8718: 1.52.0 r=SomeoneToIgnore a=matklad A lot of APIs we use in this release! Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: Kirill Bulatov <[email protected]>
| * | | Small macro fixKirill Bulatov2021-05-061-1/+1
| | | |
| * | | internal: use API stabilized in 1.52Aleksey Kladov2021-05-067-90/+16
|/ / /
* | | Merge #8744bors[bot]2021-05-061-6/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8744: minor: simplify r=edwin0cheng a=edwin0cheng cc #8742 bors r+ Co-authored-by: Edwin Cheng <[email protected]>
| * | | SimplifyEdwin Cheng2021-05-061-6/+2
| | | |
* | | | Merge #8743bors[bot]2021-05-061-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 8743: internal: explain why sentence-per-line r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | 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]>