summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
2024-12-18Taking a raw ref of a deref is always safeLukas Wirth-4/+27
2024-11-27Revert r-a completions breakageKirill Bulatov-242/+73
Repeats the revert to `stable` https://github.com/rust-lang/rust/pull/133476 using https://patch-diff.githubusercontent.com/raw/rust-lang/rust/pull/133476.diff
2024-11-19Remove `TokenKind::InvalidPrefix`.Nicholas Nethercote-1/+1
It was added in #123752 to handle some cases involving emoji, but it isn't necessary because it's always treated the same as `TokenKind::InvalidIdent`. This commit removes it, which makes things a little simpler.
2024-11-16Fix related documents diagnosticsChayim Refael Friedman-3/+7
They were converted to LSP position using the current file's line index, which is obviously wrong.
2024-11-13feat: migrate `reorder_fields` assist to use `SyntaxFactory`Tarek-8/+21
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-11Use completion item indices instead of property matching when searching for ↵Kirill Bulatov-15/+33
the completion item to resolve
2024-11-11Merge pull request #18482 from regexident/hir_trait_supertraits_accessorsLaurențiu Nicola-6/+26
internal: Add public `direct_supertraits(…)` & `all_supertraits(…)` accessor methods to `hir::Trait`
2024-11-07Merge pull request #18490 from ShoyuVanilla/dyn-compat-renameLaurențiu Nicola-8/+9
minor: Rename `dyn compatible` to `dyn-compatible`
2024-11-07minor: Rename `dyn compatible` to `dyn-compatible`Shoyu Vanilla-8/+9
2024-11-06Add `direct_supertraits(…)` HIR-level method to `hir::Trait` typeVincent Esche-1/+6
2024-11-06Add `pub fn direct_super_traits(db, trait_id)` to `hir_ty` crateVincent Esche-3/+14
2024-11-06Refactor `hir::Trait`'s existing `items_with_supertraits(…)` method based ↵Vincent Esche-2/+1
on new `all_supertraits(…)` method
2024-11-06Add `pub fn all_supertraits(…)` HIR-level method to `hir::Trait` typeVincent Esche-0/+5
2024-11-04Merge pull request #18475 from Veykril/push-zkvkpxttozupLukas Wirth-174/+143
Support new #[rustc_intrinsic] attribute and fallback bodies
2024-11-04Support new #[rustc_intrinsic] attribute and fallback bodiesLukas Wirth-174/+143
2024-11-04Merge pull request #18473 from Veykril/push-xnlzukoqttvzLukas Wirth-15/+45
Render extern blocks in `file_structure`
2024-11-04Render extern blocks in file_structureLukas Wirth-15/+45
2024-11-04Fix feature name casingLaurențiu Nicola-1/+1
2024-11-03Allow interpreting consts and statics with interpret function commandLukas Wirth-85/+113
2024-11-03Merge pull request #18469 from Veykril/push-zwnywqmvtutsLukas Wirth-28/+87
feat: Show `static` values on hover
2024-11-02Improve error message for too new proc-macro serverbenluiwj-2/+2
2024-11-02Allow static initializers to be const evaluatedLukas Wirth-28/+87
2024-11-01Format codeLaurențiu Nicola-7/+9
2024-11-01Merge from rust-lang/rustLaurențiu Nicola-25/+15
2024-10-31Parse patterns with leading pipe properly in all placesChayim Refael Friedman-16/+73
2024-10-31Merge pull request #18447 from ChayimFriedman2/cleanup-tylowerctxLukas Wirth-224/+201
Avoid interior mutability in `TyLoweringContext`
2024-10-31Remove support for compressed dylib metadata from rust-analyzerbjorn3-14/+4
2024-10-31Merge pull request #18448 from Veykril/push-zwuuoytnmnqzLukas Wirth-90/+88
Move `child_by_source` from `hir-def` to `hir`
2024-10-31Move child_by_source from hir-def to hirLukas Wirth-90/+88
2024-10-31Merge pull request #18437 from sam-mccall/publish_fixtureLukas Wirth-1/+0
Publish test-fixture => ra_ap_test_fixture
2024-10-30Avoid interior mutability in `TyLoweringContext`Chayim Refael Friedman-224/+201
This requires some serious code juggling.
2024-10-30Only parse `safe` as contextual kw in extern blocksChayim Refael Friedman-8/+47
I don't like the party of `bool`s that is becoming, but two isn't worth a refactoring yet IMO.
2024-10-30Merge pull request #18382 from dqkqd/issue-17042Lukas Wirth-3/+72
fix: auto-complete import for aliased function and module
2024-10-30Merge pull request #18385 from Giga-Bowser/masterLukas Wirth-1/+503
feat: Add assist to generate a type alias for a function
2024-10-30Merge pull request #18436 from Veykril/lw-yvkqwpnwsouoLukas Wirth-191/+478
Do not render meta info when hovering usages
2024-10-29rust-analyzer: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-11/+11
2024-10-29Style hover messages a bit differentlyLukas Wirth-116/+362
2024-10-29Publish test-fixture => ra_ap_test_fixtureSam McCall-1/+0
2024-10-29Do not render meta info when hovering usagesLukas Wirth-83/+124
2024-10-29Merge pull request #18432 from Veykril/lw-yptzmuxyvxxtLukas Wirth-4/+7
fix: Fix the server not honoring diagnostic refresh support
2024-10-29fix: Fix the server not honoring diagnostic refresh supportLukas Wirth-4/+7
2024-10-29Merge pull request #18427 from ChayimFriedman2/cleanup-tyLukas Wirth-170/+151
Cleanup TypeRef lowering
2024-10-29Merge from rust-lang/rustLaurențiu Nicola-2/+2
2024-10-28Cleanup TypeRef loweringChayim Refael Friedman-170/+151
By removing interior mutability from it.
2024-10-28Merge pull request #18420 from ChayimFriedman2/cfg-true-falseLukas Wirth-6/+86
feat: Support `cfg(true)` and `cfg(false)`
2024-10-28Merge pull request #18421 from Veykril/push-uxxwvwnqvomrLukas Wirth-691/+684
Move text-edit into ide-db
2024-10-28Merge pull request #18413 from ShoyuVanilla/extern-crate-reexportLukas Wirth-3/+79
fix: Allow public re-export of `extern crate` import
2024-10-28Merge pull request #18422 from ChayimFriedman2/cursed-name-resLukas Wirth-52/+180
fix: Properly resolve prelude paths inside modules inside blocks
2024-10-28Merge pull request #18312 from LastExceed/symbolkind-variableLukas Wirth-0/+94
Report document symbols of kind `variable` for let statements
2024-10-28ReformatLukas Wirth-21/+21