Changelog #80
Commit: 13da28c
Release: 2021-06-07
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#9039complete fields and methods withself.prefixed when inside methods:
-
#9136add function references hover action (disabled by default):
-
#9138implement hover for lints:
-
#9140render documentation for derive completion:
-
#9149support "Go to definition" forinclude!arguments:
-
#9128expand procedural attribute macros (disabled by default). -
#9097implement per-edition preludes. -
#9104implement#[rustc_skip_array_during_method_dispatch]. -
#9060diagnose unimplemented built-in macros.
Fixes
-
#9123(first contribution) add Gentoo installation instructions. -
#9091fix opening single files. -
#9090fix type inference with arbitrary self types. -
#9130make prefix/suffix parameter inlay hint hiding heuristic is more strict. -
#9079don’t take the parent kind of trailing attributes in attribute completion. -
#8952support doctest runnables inimplblocks. -
#9084avoid panics in the name case diagnostic. -
#9087fix shell injection in task spawning. -
#9111make "Extract type alias" place extracted alias outsideimplblock. -
#9119some minor "Extract type alias" fixes. -
#9108don’t show the "Extract into variable" assist for unit expressions. -
#9112fix some bugs in the "Extract struct from enum variant" assist. -
#9114fix bind patterns always being treated as ref taking patterns. -
#9117allow "Expand macro" to be invoked anywhere inside a macro call. -
#9137fix incorrect unresolved import error when using derive helpers. -
#9141don’t inline mutable locals in the "Inline local variable" assist.
Internal Improvements
-
#8866updatesalsato pick upstream cancellation support. -
#9077useNameinstead ofStringin the completion rendering API. -
#9127make variant fields inherit the enum’s visibility in the item tree. -
#9155replace attribute with equivalent whitespace. -
#9025display unknown types inanalysis-stats. -
#9145enable attribute macro expansion inanalysis-stats. -
#9147enable proc macros and build scripts by default inanalysis-stats. -
#9083simplifyproc_macro_srvtests. -
#9110simplify completion code. -
#9124apply a fewclippysuggestions. -
#9135reorganizeinlay_hintstests.