Changelog #121
Commit: b594f9c
Release: 2022-03-21
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#11731
add return type hints for closures with block bodies (enable withrust-analyzer.inlayHints.closureReturnTypeHints
): -
#11755
implement lifetime elision hints (enable withrust-analyzer.inlayHints.lifetimeElisionHints
andrust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames
): -
#11771
visualize compiler inserted reborrows via inlay hints (enable usingrust-analyzer.inlayHints.reborrowHints
): -
#11760
provide signature help when editing generic args: -
#11774
tag macro calls as unsafe if they expand to unsafe expressions: -
#11690
addInline type alias
assist: -
#11713
,#11753
complete 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 getter
andgenerate_is_empty_from_len
. -
#11737
,#11741
emit#[must_use]
inGenerate new
andGenerate enum is_variant
. -
#11714
fix completions infor
loop patterns. -
#11720
mark chaining hints as types. -
#11694
preservebreak
andcontinue
labels inExtract to function
. -
#11743
properly unify receivers during method resolution. -
#11750
fix runnables trying to add doc tests in the crate root from#[macro_export]
macros. -
#11765
fix closure hints using macro ranges. -
#11710
fix crash when parsing/etc/os-release
.