Changelog #145
source link: https://rust-analyzer.github.io/thisweek/2022/09/05/changelog-145.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Changelog #145
New Features
-
#13005
(first contribution) addConvert match to matches!
assist:Your browser does not support the video tag. -
#13120
(first contribution) add assist to change betweenXXX_or
andXXX_or_else
:Your browser does not support the video tag. -
#13145
addUnmerge match arm
assist:Your browser does not support the video tag. -
#13167
add support for unstable#[feature(exhaustive_patterns)]
feature.
Fixes
-
#13134
highlight name references by syntax until proc macros are loaded. -
#13149
unescape all occurrences of module name in module resolution. -
#13151
prefer expression type inReplace turbofish with type
. -
#12793
sort and deduplicate auto traits in trait object types. -
#13051
don’t move attributes when extracting a struct from an enum variant. -
#13161
lower float literals containing underscores. -
#13160
parseTypePathFn
with preceding::
. -
#13187
fix broken return completion. -
#13165
properly handle break resolution inside non-breakable expressions. -
#13183
fix nested break expressions expecting unknown types. -
#13154
drop the expander borrow in all control flow paths.
Internal Improvements
-
#13174
lift out the module scope into a field in theResolver
. -
#13056
use format arg captures insyntax::make
. -
#13156
removehir::Expr::MacroStmts
. -
#13171
ignore failures when publishing to OVSX. -
#12963
make generated code nice to read. -
#13173
don’t storeSyntheticSyntax
in the reverse maps inBodySourceMap
. -
#13175
clarify the state of (extern) preludes for block def maps.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK