CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Releases: rust-lang/rust-analyzer
nightly
ea413f6
Compare
Merge pull request #20307 from Hmikihiro/migrate_extract_expression_fโฆ
Assets 20
2025-07-21
58e507d
Compare
Commit: 58e507d
Release: 2025-07-21
(v0.3.2547
)
New Features
#19783
add "GenerateFrom
impl from single field" assist.#20265
supportcfg_select!
for the standard library.
Fixes
#20238
infer lifetimes for GATs in expression/pattern positions.#19917
handleAsRef
andBorrow
in "GenerateIndexMut
impl fromIndex
".#20247
transform tail expression&
to&mut
in "GenerateTraitMut
impl fromTrait
".#20255
fix bounds in "GenerateDeref
impl".
Internal Improvements
#20233
(first contribution) expandlsp-server
example.#20178
clean up cargo config querying.#20234
remove{ConstParam,TypeParam}::remove_default
.#20246
addAsMut
tominicore
prelude.
See also the changelog post.
Assets 20
- sha256:fdd33a69646d56c89794c777e24aef0657346627da93ff1c4f7bf39f8539141c14.8 MB
2025-07-21T05:47:17Z - sha256:9a26c0973c08c10ed39045006fe20d8ced28e01f8e0cc6b2af5822ff031c13ce16.5 MB
2025-07-21T05:47:18Z - sha256:7ae598f65cf31f62ccafef2dc5138ded5e0e4cd22df2d7798f1972647da60e2415.7 MB
2025-07-21T05:47:19Z - sha256:742063e5cf7175f8e18809cab29b105d91ee06c8342ea53f54ab3189a1a3e4a116.4 MB
2025-07-21T05:47:20Z - sha256:615fa5fe3b86fc03ff61b381a17fe4d1aeb830d7237fcd8cb0d9627778cdaf1d12.9 MB
2025-07-21T05:47:21Z - sha256:ca4e8ad3896f22f0b868c25452e09b59128a38ec92eadf50d4f0c381b7a83cd716.2 MB
2025-07-21T05:47:22Z - sha256:2ca5549f1ce71d837cb98e03946c3f7eb3bd7b7d9cc3dc31f59165cf8d7401b716.5 MB
2025-07-21T05:47:23Z - sha256:c5f4311f9660070d153a5cf06babfb5d69e3e1c1511e3fb16155f5f9335d087315.8 MB
2025-07-21T05:47:24Z - sha256:c0704fb9edcd6892ca683a1f32c72fa8df6639b565a280b5d3382df5937c0b0f17.1 MB
2025-07-21T05:47:25Z - sha256:301b4908766b586d256e343f241d3f4babbed6e371b2f3d053be93e7b7b2e99c14.1 MB
2025-07-21T05:47:26Z -
2025-07-20T10:54:35Z -
2025-07-20T10:54:35Z - Loading
2025-07-14
591e3b7
Compare
Commit: 591e3b7
Release: 2025-07-14
(v0.3.2539
)
New Features
-
#20054
support folding multi-line parameter list with the function body: -
#20185
include enum variants in world symbols. -
#20109
makegenerate_new
work for tuple structs.
Fixes
#20192
fix a panic in documentation rendering.#20180
always bump in the parser inerr_and_bump
.#20200
revert "re-enable fixpoint iteration for variance computation".#20212
fixdyn
inlay hints with parantheses and don't display them on HRTBs.#20210
makenaked_asm!
safe to call and fixglobal_asm!
.#20232
normalize projection types before const eval.#20235
fixwhere
clause position in trait associated item completion.
Internal Improvements
#20219
outline parts ofExpressionStore
into a different allocation.#20198
,#20211
,#20218
migratepull_assignment_up
,convert_named_struct_to_tuple_struct
,convert_match_to_let_else
,generate_impl
andremove_dbg
assists toSyntaxEditor
.
See also the changelog post.
Assets 20
2025-07-09
e429bac
Compare
Commit: e429bac
Release: 2025-07-09
(v0.3.2533
)
New Features
#20185
include enum variants in world symbols.
Fixes
#20192
fix a panic in documentation rendering.#20180
always bump in the parser inerr_and_bump
.#20200
revert "re-enable fixpoint iteration for variance computation".
Internal Improvements
#20198
migratepull_assignment_up
assist toSyntaxEditor
.
Assets 20
2025-07-07
0ac6559
Compare
Commit: 0ac6559
Release: 2025-07-07
(v0.3.2527
)
New Features
Fixes
#20151
only remove keyword prefixes (macro@
ormacro
) from links in the docs if the target is inferred.#20158
don't warn about the proc macro server when the sysroot is missing.#20160
reduce diagnostic range formacro_calls!
.#20120
fix value resolution inmatch
patterns.#20161
fix closure capture analysis forlet
expressions.#20167
improve#[derive(Default)]
expansion.#20031
respect length limit and improve adjustment hint tooltips.#20179
handle divergence in destructuring assignments.#20159
always couple--compile-time-deps
with--all-targets
.#20170
improve flycheck and build script progress reporting.#20112
add workaround for missingDelimiter::None
support to built-in macros.#20126
improve panic message on discover command spawning errors.#20148
honorrust-analyzer.cargo.noDeps
option when fetching sysroot metadata.
Internal Improvements
#20175
(first contribution) remove special handling for box patterns inmatch_check
.#20124
remove last use ofrustc_pattern_analysis::Captures
.#20156
restructure proc macro loading erros.#20157
re-enable fixpoint iteration for variance computation.#20184
remove dead field fromInferenceContext
.#20169
skip unnecessaryBodySourceMap
'seq
.#20134
,#20135
,#20136
,#20137
,#20165
migratereplace_is_method_with_if_let_method
,promote_local_to_const
,toggle_macro_delimiter
,wrap_unwrap_cfg_attr
andunmerge_match_arm
assists toSyntaxEditor
.#20132
addAsMut
,Borrow
andBorrowMut
tominicore
.#20144
addload_workspace_into_db
version ofload_workspace
.#19923
bumpsalsa
.
See also the changelog post.
Assets 20
2025-06-30
6df1213
Compare
Commit: 6df1213
Release: 2025-06-30
(v0.3.2519
)
New Features
#20077
(first contribution) take an optional"args": "cursor"
in the VS Code "Run" command.#19546
highlight return values as related tomatch
/if
/=>
.#20100
lowerPointeeSized
to?Sized
to support the newSized
trait hierarchy.#20105
parse new[const] Trait
syntax.
Fixes
#20110
don't show float completions on integer literals.#20096
don't show notifications on failedrustfmt
calls.#20121
don't append--compile-time-deps
to build script commands.#20073
useROOT
hygiene forargs
in the newformat_args!
expansion.#20069
fix cargo project manifest not pointing to the workspace root.#20072
respect configuredbuild.target-dir
.#20061
don't wrap exit points with the right type in "Wrap return type".#20103
prettify AST inPathTransform
if it's coming from a macro.#20080
clean up and expandfolding_ranges
.#20092
don't complain aboutrustc
workspace loading if it's not required.#20036
don't default to'static
for trait object lifetimes.
Internal Improvements
#20012
(first contribution) bumpliteral-escaper
.#20088
de-Arc
trait items query.#20087
short-circuit a couple of queries.#20106
make theVariantFields
query more idiomatic.#20098
unify formatting of progress messages.#20104
clean upprovideCodeActions
VS Code hook.#20116
cancel CI workflow only after the main matrix has finished.#20084
fix CI job cancellation on Windows.
See also the changelog post.
Assets 20
2025-06-23
0100bc7
Compare
Commit: 0100bc7
Release: 2025-06-23
(v0.3.2509
)
New Features
#19939
addrust-analyzer.assist.preferSelf
to preferSelf
instead of the enum name in assists.#20047
usecargo check --compile-time-deps
when available.#20020
reload workspaces whencargo
config changes.#20018
copy lockfile into target directory before invokingcargo metadata
.#20056
support the newformat_args!
expansion in 1.89.#20014
show whatcargo metadata
is doing.
Fixes
#19945
add quickfix to theprivate-field
diagnostic.#20025
(first contribution) hide imported private methods if "private editable" is disabled.#20041
revert "turnBlockId
into a#[salsa::tracked]
".#20022
never make type mismatch diagnostic stable, even when there is a fix.#20023
improve completions inif
/while
expression conditions.#20039
fix closure capturing inlet
expressions.#20035
pass--color=always
from Test Explorer.
Internal Improvements
#19495
start infestingide
crates with a'db
lifetime.#20046
addhir::TypeParam::parent
method.#20050
improve documentation for excluding imports from symbol search.
See also the changelog post.
Assets 20
2025-06-16
a207299
Compare
Commit: a207299
Release: 2025-06-16
(v0.3.2500
)
New Features
#19996
add support for excluding imports from symbol search.#19837
,#19985
provide better incrementality when items are changed.
Fixes
#19963
do not report errors for unsized types withoutwhere Self: Sized
items.#19970
fix proc macro server handling of strings with minuses.#19973
hidedyn
inlay hints for incompleteimpl
s.#19942
fix completions with some attribute macros.#19981
do not force-descend into derives for goto IDE features.#19983
fix comparison of proc macros.#20000
allow lifetime repeats in macros ($($x)'a*
).#19990
generate annotations for macro-defined items if their name is in the input.
Internal Improvements
#19982
,#19991
simplify and optimizeItemTree
.#20009
optimizepub(crate)
andpub(self)
visibility resolution.#20007
,#20008
makesalsa
usage more idiomatic.#19995
turnBlockId
into a#[salsa::tracked]
.#20006
clean up incremental tests and verify query execution.#19997
removeInternedCallableDefId
.#19980
de-duplicateItemTree
ItemVisibilities
.#19992
useThinVec
inItemScope
in a couple places.#19984
removepref_align_of
intrinsic handling, rename{min_=>}align_of{,_val}
.#19930
add support for type-erasedSemantics<'db, dyn HirDatabase>
.#19975
test incremental trait solving.#19989
bump some deps.
See also the changelog post.
Assets 20
2025-06-09
9fc1b90
Compare
Commit: 9fc1b90
Release: 2025-06-09
(v0.3.2490
)
New Features
#19893
enhance renaming to include identifier variations that are generated by macros.#19908
implement completions for#[diagnostics]
.#19922
ddddyn
keyword inlay hints.
Fixes
#19901
(first contribution) increase the range of the tuple to named struct assists.#19869
(first contribution) add diagnostic and quickfix to make private struct fields public.#19894
handle cycles ininfer
andconst_param_ty_with_diagnostics
.#19935
always emit quickfixes, even when diagnostics are disabled.#19936
,#19949
stabilize the unlinked file and "JSON is not Rust" diagnostics.#19932
,#19937
record macro calls in signatures and fields inChildBySource
impls.
Internal Improvements
#19933
improve parser recovery for macro calls in type bound position.#19897
produceCLOSURE_BINDER
nodes.#19905
clean up macro descension.#19928
deduplicate some code in proc macro server.#19914
add incremental tests checking forinfer
invalidation.#19915
,#19919
,#19920
,#19921
try to fix autopublishing workflow.
See also the changelog post.
Assets 20
2025-06-02
2a388d1
Compare
Commit: 2a388d1
Release: 2025-06-02
(v0.3.2482
)
New Features
#19876
render padding information when hovering on structs.#19881
add assist to desugarlet pat = expr?;
intolet else
.#19819
change import prefix default tocrate
.#19890
make import insertion#[cfg]
-aware.
Fixes
#19879
fix IDE layer not resolving some macro calls.#19880
handle included files better at the IDE layer.#19872
fix inference ofAsyncFn
return types.#19864
properly implementmight_be_inside_macro_call
using semantic information instead of syntactical hacks.#19851
normalize when checking for uninhabited types for pattern exhaustiveness checks.#19875
skip pattern analysis on type mismatches.#19899
account for "Generate" actions when filtering the allowed ones.#19785
,#19792
keep indent ingenerate_new
andgenerate_mut_trait
.#19900
generate diagnostics docs for the manual.
Internal Improvements
#19877
(first contribution) remove support forconcat_idents!
.#19861
(first contribution) add documentation forfind_all_refs
constructor search.#19896
restructure some semantics APIs for virtual macro files.#19898
remove unncessary duplication inhighlight_related
.#19888
recognize salsa cycles inthread_result_to_response
.#19850
add support for type-erasedSemantics<'db, dyn HirDatabase>
.
See also the changelog post.