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