Releases: rust-lang/rust-analyzer
Releases Β· rust-lang/rust-analyzer
2025-01-08
Commit: 91fc0a2
Release: 2025-01-08
(v0.3.2257
)
New Features
#18788
re-removerust-analyzer.cargo.sysrootQueryMetadata
.
Fixes
#18832
(first contribution) do not offer completions within strings in macro calls.#18866
(first contribution) fix JSON project buildfile inclusion.#18864
fix diagnostics not clearing between flychecks.#18877
fix performance issue on missing MBE bindings.
Internal Improvements
#18867
supporttarget-tuple
(vs.target-triple
) and clean up version fetching.
See also the changelog post.
nightly
Merge pull request #18884 from Veykril/push-xwqkorxozzkq fix: Fix `env`/`option_env` macro check disregarding macro_rules definitions
2025-01-07
Commit: cd12ef8
Release: 2025-01-07
(v0.3.2253
)
Fixes
2025-01-06
Commit: 3f2bbe9
Release: 2025-01-06
(v0.3.2249
)
New Features
#18757
add support for updatingexpect-test
,insta
andsnapbox
snapshot tests.#18179
allow excluding specific traits from completion.#18801
show "Go to type definition" actions for generics substitutions on hover.#18821
add support forCoercePointee
.
Fixes
#18806
(first contribution) re-enable crate graph de-duplication.#18797
(first contribution) generate exhaustivematch
in "Replaceif-let
withmatch
".#18758
(first contribution) improve SCIP symbols.#18835
hide synthetic locals from completions.#18791
avoid generating colliding names in "Extract variable".#18794
fix "Fill match arm" producing an extra brace in some proc macros.#18802
use the correctfile_id
used for ranges for outgoing calls.#18807
,#18841
populate cargo config environment variables.#18826
,#18848
,#18817
properly clear flycheck diagnostics.#18819
fix overflow detection in MIR evaluation.#18843
correctly handle new-stylerustc_intrinsic
safety.#18845
check the right package in flycheck.#18795
,#18820
fix rendering of literals in code blocks.#18836
be more permissive with completion resolve data.#18830
fix custom snippet deserialization.
Internal Improvements
#18822
(first contribution) allowtargetDir
to be an absolute path.#18327
,#18852
store token trees in contiguousVec
instead of as a tree.#18809
do not render closure ids in hover messages.#18790
define a quoting mechanism instead of textual ASTmake
.#18805
implement<RaSpanServer as SourceFile>::eq
.#18792
decouple proc macro server protocol from the server implementation.#18829
,#18831
revert 'revert "disablerustc
test metrics"'.
See also the changelog post.
2024-12-30
Commit: 59bc7b4
Release: 2024-12-30
(v0.3.2237
)
New Features
#18707
show substitution where hovering over generic things.#18743
unify handling of path diagnostics inhir-ty
.
Fixes
#18744
(first contribution) treat;
as a terminator rather than part of a glued expression.#18756
add missing enum name when hovering on variant fields.#18778
fix flycheck diagnostics flickering for binary targets.#18784
do not merge spans with different anchors.#18789
fix invalid-O
flag used bycfg
discovery.#18722
renamerust-analyzer.statusBar.documentSelector
toshowStatusBar
, addalways
andnever
options.
Internal Improvements
#18774
implement parameter variance inference.#18718
standardize iterator passing inSyntaxFactory
.#18760
,#18762
work around leakingsalsa
cycles.#18761
swallowconfig value is not set
Cargo error.#18754
clean up target fetching for Cargo metadata.#18785
clean up toolchain info fetching.#18750
revert "disablerustc
test metrics".#18787
automatically cancel CI checks on new push to PR.
See also the changelog post.
2024-12-23
Commit: fa4a40b
Release: 2024-12-23
(v0.3.2228
)
New Features
#18696
report unresolved idents for implicit captures informat_args!()
.
Fixes
#18723
fix a case where completion was unable to expand atracing
macro.#18699
fix path-qualified auto-importing completions not working with re-exports.#18729
clear flycheck diagnostics more granularly.#18741
delay initial flycheck until after build scripts.#18726
reduce applicability of theunnecessary_async
assist.#18695
improve name suggestion fordestructure_tuple_binding
.#18690
use string literal contents as a name when extracting into variable.#18700
fixunresolved_field
when a keyword is used as a field.#18708
fix pretty-printing of@
patterns.#18714
do not ask the client to resolve for non-existent label details.#18716
consider both completion detail fields into_proto
.#18727
fix "tried adding a runnable pointing to a different file" panic.#18739
don't trigger parenthesis wrapping typing handler after identifiers.#18740
fix empty check diagnostics not marking files as changed.#18738
,#18742
properly test if workspace flychecking is allowed.#18711
don't mark&raw
of deref as unsafe.
Internal Improvements
#18715
(first contribution) fixAsmOption
rule inrust.ungram
.#18731
revert "drop proc macro server support for 1.66 and older toolchains".#18698
don't serialize empty fields in completion and resolve payloads.#18713
cleanup label structure ofCompletionItem
.#18717
,#18735
setresult_id
for pull diagnostics.#18697
simplifyratoml
test directory handling.#18728
useserde_derive
intead ofderive
feature.#18710
removesalsa
from proc macro server dependency tree.
See also the changelog post.
2024-12-16
Commit: 27e824f
Release: 2024-12-16
(v0.3.2220
)
New Features
#18670
drop proc macro server support for 1.66 and older toolchains.#18458
add diagnostic fix to remove unnecessarySome
orOk
wrapper on type mismatch.#18652
add "Extract into constant" assist.
Fixes
#18667
(first contribution) fix "Replace #[derive()]` when snippet text edits are disabled.#18653
hash completion items to properly match them when resolved.#18645
allow uninhabited non-exhaustive structs.#18663
swallowrustfmt
parsing panics.#18660
clean up copied proc macro libraries on exit.#18675
fix panic when displaying generic params with defaults, again.#18684
re-enable snippet text edits capability.#18656
preserve order of parameters in "Extract function".#18674
show expansion errors in "Expand macro at caret".#18466
properly handle different defaults for severity of lints.#18668
fix source root construction for virtual manifests.
Internal Improvements
#18643
rename test fixture crates tora_test_fixture
.#18644
removecfg-if
patching hack.#18647
disable pipe in typing handler.#18657
migrategenerate_enum_variant
assist toSyntaxEditor
.#18531
map new replacement nodes to their mutable equivalents inSyntaxEditor
.#18669
only parse the object file once inproc-macro-srv
.#18677
implementnaked_asm!
built-in.#18672
simplify dummyproc-macro-srv
.#18694
show MIR eval errors on hover when debug environment variable is set.#18693
fix proc-macro library names on Windows.#18441
try not cache the config directory path.
See also the changelog post.
2024-12-09
Commit: 4c755e6
Release: 2024-12-09
(v0.3.2212
)
New Features
#18541
add infrastructure and a first type lowering diagnostic.#18609
report union field accesses and inline assembly as unsafe.#18604
complete derive helper attributes.#18594
supportAsyncFn
traits.#18522
add setting to exclude trigger characters from format-on-type.
Fixes
#18610
add implict unsafety inlay hints for extern blocks.#18589
advertise completions and inlay hints resolve based on the client capabilities.#18630
temporarily disable completion resolve support for Helix and Neovim.#18618
fix parsing of integer/keyword name references in various places.#18608
improve parser recovery for paths.#18625
fix parser getting stuck for bad asm expressions.#18593
,#18622
fix parsing of parenthesized type arguments and RTN.#18586
inherit environment in debug configurations.#18587
fix syntax fixup inserting unnecessary semicolons.#18555
fix a bug where synthetic AST nodes were looked up in the AST ID map.#18607
fix shadowing of record enum variants in patterns.#18605
fix another glob import name resolution bug.#18611
do not report warnings from proc macros, ever.#18474
,#18616
make bracket typing handler work on more things.#18627
improve semicolon insertion typing handler heuristics.#18628
add typing handler for parameter list pipe.#18619
fix panic when displaying generic parameters with defaults.#18620
parse lifetime bounds in lifetime parameters intoTypeBoundList
.#18621
resolve generic parameters withinuse
captures.#18629
highlight>
as part of=>
inmacro_rules!
arm.#18633
properly coerceFnDef
s to function pointers if they are subtypes.#18592
only show VS Code status bar item in relevant files.
Internal Improvements
#18561
(first contribution) add macro expansion test for raw variable names.#18595
remove references toplatform-intrinsic
ABI.#18483
migrateintroduce_named_generic
assist toSyntaxFactory
.#18538
migratesort_items
assist toSyntaxFactory
.#18551
migrateadd_turbo_fish
assist toSyntaxFditor
.#18575
migrateflip
assists toSyntaxEditor
.
See also the changelog post.
2024-12-02
Commit: b65911d
Release: 2024-12-02
(v0.3.2204
)
Fixes
#18511
re-addrust-analyzer.cargo.sysrootQueryMetadata
.#18559
fix stack overflow when computing the sizedness of (co-)recursive types.
Internal Improvements
#18577
remove redundant associated type bounds fromdyn TypeFolder
.
See also the changelog post.
2024-11-25
Commit: 327ab29
Release: 2024-11-25
(v0.3.2196
)
Fixes
#18529
(first contribution) improve selection handling inmerge_match_arms
.#18459
use snippet placeholders for generated match arms.
Internal Improvements
#18485
migrateadd_braces
assist to useSyntaxFactory
.#18521
migratereorder_impl_items
assist to useSyntaxFactory
.#18552
fix formatting in "missingrust-src
" message.
See also the changelog post.