about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2024-12-04feat: migrate `sort_items` assist to use `SyntaxFactory`Tarek-18/+22
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-04Merge pull request #18609 from ChayimFriedman2/unsafe-coverageLukas Wirth-113/+499
feat: Extend reported unsafe operations
2024-12-04Merge pull request #18604 from ChayimFriedman2/complete-helpersLukas Wirth-4/+111
feat: Complete derive helper attributes
2024-12-04Extend reported unsafe operationsChayim Refael Friedman-113/+499
We add union fields access (in both expressions and patterns) and inline assembly. That completes the unsafe check (there are some other unsafe things but they are unstable), and so also opens the door to reporting unused unsafe without annoying people about their not-unused unsafe blocks.
2024-12-04Complete derive helper attributesChayim Refael Friedman-4/+111
Only their names, anything can go inside.
2024-12-04Merge pull request #18608 from Veykril/push-rrozmpnyknkxLukas Wirth-40/+154
Better parser recovery for paths
2024-12-04Update mbe test outputLukas Wirth-2/+3
2024-12-04fix: Don't create empty path nodesLukas Wirth-24/+26
2024-12-04Better parser recovery for incomplete attributesLukas Wirth-19/+130
2024-12-04Merge pull request #18522 from tareknaser/configure_typing_exclude_charsLukas Wirth-15/+20
Add Configurable Option to Exclude Trigger Characters for Typing Assists
2024-12-04Merge pull request #18605 from ChayimFriedman2/wildcard-importsLukas Wirth-2/+46
fix: Fixed another bug with glob imports
2024-12-04Merge pull request #18595 from markmurphydev/remove_platform_intrinsicLaurențiu Nicola-5/+0
Remove references to platform-intrinsic ABI
2024-12-04Merge pull request #18607 from ChayimFriedman2/pattern-record-no-recordLaurențiu Nicola-7/+30
fix: Fix shadowing of record enum variant in patterns
2024-12-04Fix shadowing of record enum variant in patternsChayim Refael Friedman-7/+30
2024-12-04Improve soundness a bit by making `TaggedArcPtr::try_as_arc_owned()` unsafeChayim Refael Friedman-13/+17
Since the `ManuallyDrop` it returns can be safely used to consume the `Arc`, which is can cause UB if done incorrectly. See #18499.
2024-12-04Fixed another bug with glob importsChayim Refael Friedman-2/+46
When a glob import overriding the visibility of a previous glob import was not properly resolved when the items are only available in the next fixpoint iteration. The bug was hidden until #18390.
2024-12-03Remove references to platform-intrinsic ABIMark Murphy-5/+0
2024-12-03chore: deprecate `typing.autoClosingAngleBrackets` configurationTarek-31/+1
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03internal: Make exclude characters for typing assists configurable, default ↵Tarek-2/+37
to None Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03Support `AsyncFnX` traitsChayim Refael Friedman-68/+291
Only in calls, because to support them in bounds we need support from Chalk. However we don't yet report error from bounds anyway, so this is less severe. The returned future is shown in its name within inlay hints instead of as a nicer `impl Future`, but that can wait for another PR.
2024-12-03Merge pull request #18555 from ChayimFriedman2/issue-17321Lukas Wirth-4/+80
fix: Fix a bug when synthetic AST node were searched in the AST ID map and caused panics
2024-12-03Only show status bar item in relevant filesDavid Richey-1/+56
2024-12-03Advertise completions and inlay hints resolve server capabilities based on ↵Kirill Bulatov-22/+45
the client capabilities.
2024-12-02Use c"lit" for CStrings without unwrapKornel-3/+1
2024-12-02Merge pull request #18561 from markmurphydev/macro_name_raw_variableLukas Wirth-0/+28
Add macro expansion test for raw variable names
2024-12-02Merge pull request #18587 from Veykril/push-urrlrursyrwsLukas Wirth-1/+17
fix: Fix syntax fixup inserting unnecessary semicolons
2024-12-02fix: Fix syntax fixup inserting unnecessary semicolonsLukas Wirth-1/+17
2024-12-02Fix debug configuration querying not inheriting environmentLukas Wirth-154/+42
2024-11-30Remove redundant associated type bounds from dynMichael Goulet-4/+4
2024-11-28Merge from rust-lang/rustLaurențiu Nicola-0/+1
2024-11-28Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2024-11-28Fix proc macro testLaurențiu Nicola-0/+1
2024-11-28Bump rustc cratesLaurențiu Nicola-17/+17
2024-11-28Merge from rust-lang/rustLaurențiu Nicola-1/+1
2024-11-28Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2024-11-26Remove target.is_some() to handle it later inside ra::flycheckAli Bektas-3/+1
2024-11-26Revert #18197Ali Bektas-1/+1
Our first attempt to make flycheck only check the current crate if the crate is one of bin/bench/test targets had caused `check_workspace` to be ignored, which should have been a config with higher precedence all along. This commit revert #18197 and closes #18562
2024-11-26Merge pull request #18511 from darichey/sysroot-query-metadataLaurențiu Nicola-51/+150
Re-add `rust-analyzer.cargo.sysrootQueryMetadata`
2024-11-26Add macro expansion test for raw variable namesMark Murphy-0/+28
2024-11-25Merge pull request #18559 from ChayimFriedman2/recur-unsizedLaurențiu Nicola-10/+47
fix: Fix a stack overflow when computing the sizedness of a struct that includes itself as the tail field
2024-11-25Fix a stack overflow when computing the sizedness of a struct that includes ↵Chayim Refael Friedman-10/+47
itself as the tail field
2024-11-26Migrate `add_turbo_fish` to `SyntaxEditor`Shoyu Vanilla-24/+77
2024-11-25Fix a bug when synthetic AST node were searched in the AST ID map and caused ↵Chayim Refael Friedman-4/+80
panics
2024-11-24Merge pull request #18552 from lnicola/rust-src-messageLaurențiu Nicola-4/+5
internal: Fix missing `rust-src` message
2024-11-24Fix missing rust-src messageLaurențiu Nicola-4/+5
2024-11-23Update request entry point file path in architecture.mdMark Murphy-1/+1
2024-11-19Merge pull request #18485 from ↵David Barsky-6/+10
davidkurilla/feat-migrate-add_braces-to-use-SyntaxFactory feat: convert add_braces to SyntaxFactory SyntaxEditor abstraction
2024-11-19Merge pull request #18521 from tareknaser/syntax_factory_reorder_impl_itemsDavid Barsky-7/+14
Migrate `reorder_impl_items` Assist to Use `SyntaxFactory`
2024-11-19Merge pull request #18529 from ↵Laurențiu Nicola-1/+103
cmrschwarz/allow_leading_whitespace_in_merge_match_arms Improve selection handling for the `merge_match_arms` assist
2024-11-19Merge pull request #18459 from Giga-Bowser/match-placeholdersLaurențiu Nicola-113/+128
feat: Use snippet placeholders for generated match arms