Changelog #78
source link: https://rust-analyzer.github.io/thisweek/2021/05/24/changelog-78.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 #78
New Features
Fixes
-
#8345
(first contribution) addpub mod
option to the "Unlinked file" diagnostic fix. -
#8766
(first contribution) addasync
if required in "Extract function" assist. -
#8945
make expected type work in more situations: -
#8795
allow semantic tokens for strings to be disabled. -
#8858
ignore macro imports fromextern crate self
. -
#8863
don’t add extra whitespace around fields. -
#8880
fix module renaming. -
#8875
avoid false positive "Missing match arm" when an or-pattern has mismatched types. -
#8884
fix "Add explicit type" producing invalid code on@
patterns. -
#8893
update outdated auto-import documentation. -
#8902
fix code completion not inserting borrow text when client supportsInsertAndReplace
. -
#8910
don’t hang on unresolved attribute on extern block and its children. -
#8918
fix hang caused by non-unique attribute IDs. -
#8901
speed upfill_match_arms
on tuples of large enums. -
#8935
mentionrust-tools.nvim
fornvim-lsp
in the manual. -
#8936
improve nightly downloads with better local state management. -
#8940
giveunsafe
semantic token modifier to unsafe traits. -
#8947
correctly resolve crate name in use paths when import shadows it.
Internal Improvements
-
#8862
reorganize module structure of fixits. -
#8871
simplifyDefCollector::resolve_macros
. -
#8882
,#8887
,#8888
resolve attributes in name resolution (minimal version). -
#8885
greatly simplify eager macro representation. -
#8889
track in-scope derive helpers during name resolution. -
#8898
resolve derive helpers. -
#8900
support#[register_attr]
and#[register_tool]
. -
#8914
removeStructDefKind
. -
#8868
replaceAstTransformer
with mutable syntax trees. -
#8926
drop uncompressed release artifacts and those following the old naming convention. -
#8954
documentItemTree
design.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK