Releases: rust-lang/rust-analyzer
2023-11-27
Auto merge of #15967 - lnicola:salsa-fork, r=lnicola internal: Switch to our own `salsa` fork This gets rid of `syn` 1, among others.
nightly
Auto merge of #15967 - lnicola:salsa-fork, r=lnicola internal: Switch to our own `salsa` fork This gets rid of `syn` 1, among others.
2023-11-20
Changelog #208
Commit: 255eed4
Release: 2023-11-20 (v0.3.1740)
New Features
-
#15891diagnose some orphan trait impl cases: -
#15895diagnose missing associated items in trait impls: -
#15893diagnose incorrect unsafety for trait impls:
Fixes
Internal Improvements
#15875fixPathSegmentgrammar.#15899,#15917sync from downstream.#15874migrate assists to the structured snippet API, part 4.#15925remove debugging code in path resolution.#15902,#15913bump some deps.#15830VS Code: expose workspaces to other extensions, removeaddProjectcommand.#15900disable VSIX builds forwin32-ia32, which VS Code no longer supports.#15904bump minimum supported VS Code to 1.78.
See also the changelog post.
2023-11-13
Changelog #207
Commit: 416e9c8
Release: 2023-11-13 (v0.3.1730)
New Features
-
#15847preview struct fields on hover: -
#15871add config for preferring / ignoring prelude modules when inserting imports.
Fixes
#15860truncate closure capture place for raw pointer.#15864be more lax when findingSelfreferences.#15854ignore#[doc(hidden)]when implementing missing members.#15866improve check when overriding expansion limit forinclude!.
Internal Improvements
#15881(first contribution) fix JSON syntax in VS Code settings samples.#15849update rustc dependencies.#15880include TOML files in the vfs.
See also the changelog post.
2023-11-06
Changelog #206
Commit: c1c9e10
Release: 2023-11-06 (v0.3.1722)
New Features
-
#15819(first contribution) skip token tree limit forinclude!macro calls. -
#15832addgenerate_mut_trait_implassist:
Fixes
-
#15827(first contribution) addformatterscategory to VSCode metadata. -
#15788allow importing traitsas _: -
#15834fix docs path for derive macros.
See also the changelog post.
2023-10-30
Changelog #205
Commit: f493207
Release: 2023-10-30 (v0.3.1713)
Fixes
-
#15809makeextract_variableassist easier to trigger: -
#15780import trait if needed forunqualify_method_callassist:
Internal Improvements
#15806bumpscipdependency.
See also the changelog post.
2023-10-23
Changelog #204
Commit: 1087295
Release: 2023-10-23 (v0.3.1705)
Fixes
#15746add diagnostics for string and byte string literal errors.#15775pick a better name for variables introduced byreplace_is_some_with_if_let_some.#15736add incorrect case diagnostics for module names.#15789store binding mode independently for each instance of a binding.#15786fix client detectin for VS Code Insiders.#15779add command for only opening external docs and attempt to fixvscode-remoteissue.
Internal Improvements
#15727generate descriptors for all unstable features.#15764expand Emacs documentation.#15769,#15770really fix the metrics deploy key.#15783free up some disk space for auto-publish.
See also the changelog post.
2023-10-16
Changelog #203
Commit: 6572ec8
Release: 2023-10-16 (v0.3.1697)
New Features
-
#15728(first contribution) VS Code: support opening local documentation if available:local_docs.webm
-
#15743,#15752,#15755(first contribution) add assist to convertis_some/is_okand toif let: -
#15681(first contribution) addrust-analyzer.rust.analyzerTargetDiroption to userust-analyzerspecific target directory. -
#15696add tuple return to tuple struct assist:tuple_return_type_to_tuple_struct.webm
Fixes
-
#15744(first contribution) add diagnostics for char and byte literal errors: -
#15713offer prefix match flyimport completions for one and two character paths:
Internal Improvements
#15745(first contribution) add Zed to the manual IDE list.#15725fix automaticrustc/rustdoclint generation.#15618portanymaptostdx.#15760make somemir::ProjectionStoremethods public.#15762try to use deploy key in the metrics workflow.#15691updaterustc_abidependency.
See also the changelog post.
2023-10-09
Changelog #202
Commit: b1f89a8
Release: 2023-10-09 (v0.3.1689)
New Features
-
#15668(first contribution) add backtick to surrounding and auto-closing pairs. -
#15700add assist for applying De Morgan's law toIterator::allandIterator::any:IteratorDeMorgans.webm
-
#15707allow configuring the status bar click action in VS Code.
Fixes
#15690(first contribution) fix line and column regex in the VS Code problem matcher.#15701strip base prefix inlayout_scalar_valid_range.#15698allow more kinds ofif-letpatterns in guarded return assist.#15709recognize#[export_name = "main"]function as binary entrypoint for runnables.#15641fix path syntax produced by theinto_to_qualified_fromassist.#15600ensurerustfmtruns when configured with./.
Internal Improvements
#15721shrinkPatPtrby swapping itsAstPtrandEitherwrap order.
See also the changelog post.
2023-10-02
Changelog #201
Commit: 0840038
Release: 2023-10-02 (v0.3.1681)
New Features
Fixes
#15662fix panic in wrapping and unwrappingResultreturn type assists.#15667makebool_to_enumassist create enum at top-level.#15682recover better on missing parameter in parameter list.#15688makerustc_layout_scalar_valid_rangeattributes work for non-decimal literals.#15692don't trigger completion when typing underscore in types or patterns.
Internal Improvements
#15680(first contribution) re-generatelints.rs.#15633allow customizing SCIP config.#15677allocate AST ids for parameters.#15686only run tests on Linux for pull requests.
See also the changelog post.











