Changelog #118
source link: https://rust-analyzer.github.io/thisweek/2022/02/28/changelog-118.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 #118
New Features
-
#11549
(first contribution) add support forconcat_bytes!
. -
#11481
display parameter names when hovering over a function pointer alias: -
#11513
expandderive
attribute into a pseudo expansion: -
#11462
highlight continue points: -
#11375
add support forif
- andwhile
-let
chains. -
#11538
disable private-editable completions by default (controlled byrust-analyzer.completion.privateEditable.enable
).
Fixes
-
#11461
(first-contribution) filter generics inExtract struct from enum variant
. -
#11531
(first contribution) makefill_match_arms
assist handle#[doc(hidden)]
and#[non_exhaustive]
. -
#11535
(first contribution) add install instructions for Kakoune and Helix. -
#11524
(first contribution) state that only the latest stable toolchain is officially supported. -
#11424
pass required features tocargo
when using theRun
action. -
#11540
resolve private fields in type inference. -
#11490
fix doc test formatting with generics. -
#11525
drop generic args in path inreplace_qualified_name_with_use
. -
#11562
don’t emitunresolvedReference
highlight tags in unlinked files. -
#11516
don’t count commas when looking for the derive attribute in diagnostics. -
#11517
fix qualified record literal completion triggering too eagerly. -
#11522
make code lenses work on attributed items. -
#11530
fixexpand_macro
always expanding the first listed derive. -
#11472
fix visibility inimpl
items and changepub(crate)
topub
inextract_module
. -
#11552
properly display$crate
in hovers. -
#11554
fix type mismatches withunreachable!
in Rust 1.59. -
#11565
fix body selection inwhile
loops with block conditions. -
#11567
fixif
with block conditions. -
#11514
update manual forcoc-rust-analyzer
.
Internal Improvements
-
#11573
reuse buffer inTextEdit::apply
and add tests. -
#11550
refactor autoderef/method resolution. -
#11455
handle proc-macro functions as the proc-macro they resolve to. -
#11527
split unresolved proc-macro error out ofmbe
. -
#11536
resolve functions as proc-macros viaFileAstId
. -
#11537
reduce visibility of proc-macros topub(crate)
in nameres. -
#11548
add CSV output toanalysis-stats
. -
#11564
clean up highlighting tests. -
#11560
updateurl
to makewebrender
build when computing metrics.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK