Changelog #111
Commit: 0f8c96c
Release: 2022-01-10
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#11112
evaluate constants in array repeat expression: -
#11193
add setting to replace specific proc-macros with dummy expanders: -
#11208
expand attribute macros on impl and trait items. -
#11214
poke user when supplying faulty configurations. -
#11145
add setting to use reasonable default expressions when filling missing fields.
Fixes
-
#11107
(first contribution) fix generic type substitution when implementing trait with associated type. -
#11061
supportMove if to guard
onif
-else
chains. -
#11178
keep block modifiers inReplace match with if let
. -
#11184
pass through mutable parameter references when extracting a function. -
#11195
pass through reference modifiers when extracting a variable. -
#11190
improve function parameter completion. -
#11200
,#11207
always put a space afterdyn
andimpl
in macro pretty-printing. -
#11201
fix completions not considering ancestor items for attribute search. -
#11202
fix hang inapply_demorgan
assist. -
#11204
shorten replacement path inreplace_qualified_name_with_use
. -
#11211
fix parsing of#[derive]
paths. -
#11218
don’t insert&mut
twice in parameter completion. -
#11194
don’t include lifetime when generating documentation fornew
. -
#11220
don’t include lifetime arguments inadd_turbo_fish
. -
#11238
shrink the span of errors from attribute macros and derives. -
#11187
rename and use the 1.55 proc macro ABI for 1.54.
Internal Improvements
-
#11115
refactor: avoid separate traversal inReplace filter_map().next() with find_map()
. -
#11157
removeSemanticScope::speculative_resolve_as_mac
. -
#11189
remove lossyDefinition::{from_token,from_node}
methods. -
#11216
support registered tools and attributes in ide layer. -
#11232
filter out macro calls by file id in when buildingDynMap
. -
#11235
record attribute calls on assoc items inTraitData
andImplData
. -
#11236
avoidInFile
wrapping ofDynMap
keys.