Releases: rust-lang/rust-analyzer
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.
2023-09-25
Changelog #200
Commit: 862a300
Release: 2023-09-25 (v0.3.1673)
New Features
#15582(first contribution) add option to show full signatures in completion docs.#15484add "bool to enum" assist, to replace variables, fields, constants and statics with a new enum.
Fixes
#15621(first contribution) giveunmerge_usea label explaining what it will affect.#15651wrap inlined closures in parentheses.#15635computeinlayHint.textEditeagerly for VS Code.#15587fix autoimport on traits already importedas _.
Internal Improvements
#15615(first contribution) fix some Clippy lints.#15620(first contribution) changeexclude_labelstoexclude_titlesin triagebot config.#15632useload_workspace_atforrust-analyzer scip.#15492extendcheck.overrideCommandandbuildScripts.overrideCommanddocs.#15616use in-tree rustc dependencies with acfgflag.#15637updatechalk.#15432,#15594de-unwrapinline_call,add_missing_match_arms,convert_comment_blockanddesugar_doc_comment.
See also the changelog post.
2023-09-18
Changelog #199
Commit: 0566644
Release: 2023-09-18 (v0.3.1665)
Fixes
#15597(first contribution) update field shorthands inpromote_local_to_const.#15232disallow renaming of non-local items.#15601"temporarily" skip declaration checks in derive expansions.#15625don't skip closure captures afterlet-else.#15611prefer stable paths in import path.#15606fixabove_whole_itemlens location breaking lenses.
Internal Improvements
#15431de-unwrapextract_function.#15609remove most of the duplication fromSemantics{,Impl}usingderef.
See also the changelog post.
2023-09-11
Changelog #198
Commit: 326f37e
Release: 2023-09-11 (v0.3.1657)
New Features
-
#15578diagnose mismatched argument count for tuple struct patterns: -
#15584diagnose private fields in record constructor: -
#15557parsebuiltin#syntax and add type checking forbuiltin#offset_of. -
#15559implementbuiltin#format_args, using rustc'sformat_argsparser. -
#15532on-type format(, by adding closing)automatically. -
#15573add "into to qualified from" assist. -
#15524add "Bind unused parameter" assist. -
#15528enablecfg(rust_analyzer)when code is being analyzed.
Fixes
Internal Improvements
#15568replaceformat_argsparser with upstream fork.#15565implementwrite_via_moveintrinsic for MIR eval.#15571remove allocation on MIR eval memory write.#15567ignore enum variants in analysis stats of MIR bodies.#15575intern projections in MIR place.#15430de-unwrapwrap_return_type_in_result.#15529do not send inlay hint refresh requests on file edits.#15522resolve inlay hint data lazily.#15586,#15592shrink some stuff.#15564use current folder'srustfmt.tomlwith custom configurations.#15560when usingrust-project.json, prefer the sysroot-defined rustc over discovery in$PATH.#15558removerust-analyzer.discoverProjectCommandin favor of a companion VS Code extension.
See also the changelog post.
2023-09-04
Changelog #197
Commit: 2df30e1
Release: 2023-09-04 (v0.3.1649)
Fixes
#15527respect#[allow(unused_braces)].
Internal Improvements
#15465fix cargo handle logging in flycheck.#15542lessonce_cell, morestd.#15543remove some allocations in borrowck.#15544shuffle some locking around.#15549add a few moredb.unwind_if_cancelled()calls.#15548restructure some modules in therust-analyzercrate.#15551move doc-comment handling intoide-db.#15552bumprustc-perfcheckout for metrics, replacewebrender,dieselandripgrepwith newer versions.#15553addhyper0.14.18 to metrics.
See also the changelog post.
2023-08-28
Changelog #196
Commit: 144526c
Release: 2023-08-28 (v0.3.1641)
New Features
#15374(first contribution) implement extern crate completion.
Fixes
#15512updateoffsetintrinsic to match 1.72.#15517fix unknown label diagnostics forwhile letloop with label in condition.
Internal Improvements
#15385(first contribution) pass target inproc-macro-testto fix cross-compilation on Darwin hosts.#15490fix help text forrust-analyzer.check.invocation{Strategy,Location}.#15503report the rust-analyzer version in the SCPI metadata.#15494sync from downstream.#15523useRUSTC_BOOTSTRAPwhen runninganalysis-statson the standard library.#15495unpinserde.
See also the changelog post.
2023-08-21
Changelog #195
Commit: 83b3ba1
Release: 2023-08-21 (v0.3.1631)
New Features
Fixes
#15463show generic constant defaults in hover.#15473honor#[doc(hidden)]in auto-import and completions.#15383suggest type completions for type arguments and constant completions for constant arguments.#15418fix signature help of methods generated by macros.#15410rewrite De Morgan's assist to avoid string manipulation.#15179substitute default values of const params in "Add missing members".#15420increase the buffer size for the discover project command.
Internal Improvements
#15466add offset param to tokendescendAPI.#15472record import origins inItemScopeandPerNs.#15426,#15429,#15434de-unwrapconvert_to_guarded_return,generate_delegate_methodsandgenerate_derive.#15461always collect memory usage info inanalysis-stats.#15482pinserdeto the last non-blobby release.
See also the changelog post.





