summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide-db
AgeCommit message (Collapse)AuthorLines
2024-05-24Add toggle_async_sugar assist code actionmaxwase-0/+4
2024-05-22fix: ensure implied bounds from associated types are considered in autocompleteDavid Barsky-1/+10
2024-05-22internal: refactor `prefer_no_std`/`prefer_prelude` bools into a structDavid Barsky-33/+20
2024-05-22Auto merge of #17277 - Veykril:find-path-fixes, r=Veykrilbors-5/+5
fix: Various find path fixes Fixes https://github.com/rust-lang/rust-analyzer/issues/17271
2024-05-22Auto merge of #17268 - Veykril:signatures, r=Veykrilbors-11/+9
feat: More callable info With this PR we retain more info about callables other than functions, allowing for closure parameter type inlay hints to be linkable as well as better signature help around closures and `Fn*` implementors.
2024-05-22Update assists test fixturesLukas Wirth-7/+11
2024-05-22fix: Fix general find-path inconsistenciesLukas Wirth-14/+10
2024-05-19Merge from rust-lang/rustLaurențiu Nicola-3/+3
2024-05-18Show fn traits in signature info for trait implementorsLukas Wirth-4/+1
2024-05-18Allow hir::Param to refer to other entity params aside from functionsLukas Wirth-7/+8
2024-05-16Auto merge of #17243 - Veykril:static-lt-hir, r=Veykrilbors-8/+18
internal: Add StaticLifetime to hir API
2024-05-16internal: Add StaticLifetime to hir APILukas Wirth-8/+18
2024-05-15Fix typosblyxyas-1/+1
2024-04-30fix: Tracing span names should match function namesWilfred Hughes-11/+9
When viewing traces, it's slightly confusing when the span name doesn't match the function name. Ensure the names are consistent. (It might be worth moving most of these to use #[tracing::instrument] so the name can never go stale. @davidbarsky suggested that is marginally slower, so I've just done the simple change here.)
2024-04-25fix: Fix expression scopes not being calculated for inline constsLukas Wirth-2/+2
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-3/+3
And suggest adding the `#[coroutine]` to the closure
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+26617
2024-04-20Merge commit '55d9a533b309119c8acd13061581b43ae8840823' into sync-from-raLaurențiu Nicola-105/+136
2024-03-31Merge commit 'f5a9250147f6569d8d89334dc9cca79c0322729f' into sync-from-raLaurențiu Nicola-0/+1
2024-03-17Merge commit '5ecace48f693afaa6adf8cb23086b651db3aec96' into sync-from-raLaurențiu Nicola-19/+20
2024-03-10Merge commit '574e23ec508064613783cba3d1833a95fd9a5080' into sync-from-raLaurențiu Nicola-542/+361
2024-03-03Merge commit '4ef6a49b44e8aa380da7522442234bfd7a52c55e' into sync-from-raLaurențiu Nicola-5/+294
2024-02-25Merge commit '4a8d0f7f565b6df45da5522dd7366a4df3460cd7' into sync-from-raLaurențiu Nicola-15/+27
2024-02-19Remove suspicious auto trait lintSantiago Pastorino-5/+0
2024-02-18Auto merge of #117772 - surechen:for_117448, r=petrochenkovbors-1/+1
Tracking import use types for more accurate redundant import checking fixes #117448 By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. For example unnecessary imports in std::prelude that can be eliminated: ```rust use std::option::Option::Some;//~ WARNING the item `Some` is imported redundantly use std::option::Option::None; //~ WARNING the item `None` is imported redundantly ```
2024-02-18By tracking import use types to check whether it is scope uses or the other ↵surechen-1/+1
situations like module-relative uses, we can do more accurate redundant import checking. fixes #117448 For example unnecessary imports in std::prelude that can be eliminated: ```rust use std::option::Option::Some;//~ WARNING the item `Some` is imported redundantly use std::option::Option::None; //~ WARNING the item `None` is imported redundantly ```
2024-02-18Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-raLaurențiu Nicola-35/+49
2024-02-11Merge commit 'ddf105b646c6749a2de2451c9a499a354eec79c2' into sync-from-raLaurențiu Nicola-23/+23
2024-02-04Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-raLaurențiu Nicola-254/+724
2024-01-28Merge commit '7219414e81810fd4d967136c4a0650523892c157' into sync-from-raLaurențiu Nicola-4/+4
2024-01-21Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-raLaurențiu Nicola-916/+1408
2024-01-15Merge commit '9d8889cdfcc3aa0302353fc988ed21ff9bc9925c' into sync-from-raLaurențiu Nicola-88/+97
2024-01-08Merge commit 'af40101841c45aa75b56f4e9ca745369da8fb4ba' into sync-from-raLaurențiu Nicola-134/+305
2024-01-03Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2Laurențiu Nicola-61/+164
2023-12-18Merge commit '21b06c1beb9bb59369ffd652f5d617bcf6952e05' into sync-from-raLaurențiu Nicola-111/+141
2023-12-11Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-raLaurențiu Nicola-324/+483
2023-11-16Merge commit '141fc695dca1df7cfc3c9803972ec19bb178dcbc' into sync-from-raLaurențiu Nicola-17/+33
2023-11-08Merge commit '3b7c7f97e4a7bb253a8d398ee4f8346f6cf2817b' into sync-from-raLaurențiu Nicola-1128/+7667
2023-09-18Merge commit '258b15c506a2d3ad862fd17ae24eaf272443f477' into sync-from-raLaurențiu Nicola-20/+484
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-5/+5
2023-08-21Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-raLaurențiu Nicola-31/+268
2023-08-07Rollup merge of #114562 - Trolldemorted:thiscall, r=oli-obkMatthias Krüger-16/+0
stabilize abi_thiscall Closes https://github.com/rust-lang/rust/issues/42202, stabilizing the use of the "thiscall" ABI. FCP was substituted by a poll, and the poll has been accepted.
2023-08-07stabilize abi_thiscallBenedikt Radtke-16/+0
2023-08-07Merge commit 'baee6b338b0ea076cd7a9f18d47f175dd2ba0e5d' into sync-from-raLaurențiu Nicola-94/+195
2023-07-17Merge commit '37f84c101bca43b11027f30ab0c2852f9325bc3d' into sync-from-raLaurențiu Nicola-84/+91
2023-06-19Merge commit 'cd3bf9fe51676b520c546460e6d8919b8c8ff99f' into sync-from-raLaurențiu Nicola-105/+276
2023-06-05Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-raLaurențiu Nicola-516/+924
2023-03-20:arrow_up: rust-analyzerLaurențiu Nicola-6/+13
2023-03-13:arrow_up: rust-analyzerLaurențiu Nicola-121/+144
2023-02-20:arrow_up: rust-analyzerLaurențiu Nicola-142/+218