Changelog #121
Commit: b594f9c
Release: 2022-03-21
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#11731add return type hints for closures with block bodies (enable withrust-analyzer.inlayHints.closureReturnTypeHints):
-
#11755implement lifetime elision hints (enable withrust-analyzer.inlayHints.lifetimeElisionHintsandrust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames):
-
#11771visualize compiler inserted reborrows via inlay hints (enable usingrust-analyzer.inlayHints.reborrowHints):
-
#11760provide signature help when editing generic args:
-
#11774tag macro calls as unsafe if they expand to unsafe expressions:
-
#11690addInline type aliasassist:
-
#11713,#11753complete associated consts in patterns.
-
#11688,#11718,#11735(partially) add const generics support.
Fixes
-
#11708(first contribution) update manual for inlay hint customization -
#11739(first contribution) emit#[must_use]inGenerate getterandgenerate_is_empty_from_len. -
#11737,#11741emit#[must_use]inGenerate newandGenerate enum is_variant. -
#11714fix completions inforloop patterns. -
#11720mark chaining hints as types. -
#11694preservebreakandcontinuelabels inExtract to function. -
#11743properly unify receivers during method resolution. -
#11750fix runnables trying to add doc tests in the crate root from#[macro_export]macros. -
#11765fix closure hints using macro ranges. -
#11710fix crash when parsing/etc/os-release.