Changelog #80

Commit: 13da28c
Release: 2021-06-07

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #9039 complete fields and methods with self. prefixed when inside methods:

    119984385 a0111700 bfc1 11eb 9dbf 52fdaa4d72b5
  • #9136 add function references hover action (disabled by default):

    120811670 8422ed80 c54c 11eb 87f5 dd65c1f8ef7d
  • #9138 implement hover for lints:

    120847184 6ae16780 c573 11eb 8a55 d31e2736a234
  • #9140 render documentation for derive completion:

    120847308 9c5a3300 c573 11eb 958d e0f22f4757ed
  • #9149 support "Go to definition" for include! arguments:

    120891155 3fa85800 c607 11eb 9b20 7ac330dceb4b
  • #9128 expand procedural attribute macros (disabled by default).

  • #9097 implement per-edition preludes.

  • #9104 implement #[rustc_skip_array_during_method_dispatch].

  • #9060 diagnose unimplemented built-in macros.

Fixes

  • #9123 (first contribution) add Gentoo installation instructions.

  • #9091 fix opening single files.

  • #8717, #9105 update match checking algorithm.

  • #9090 fix type inference with arbitrary self types.

  • #9130 make prefix/suffix parameter inlay hint hiding heuristic is more strict.

  • #9079 don’t take the parent kind of trailing attributes in attribute completion.

  • #8952 support doctest runnables in impl blocks.

  • #9084 avoid panics in the name case diagnostic.

  • #9087 fix shell injection in task spawning.

  • #9111 make "Extract type alias" place extracted alias outside impl block.

  • #9119 some minor "Extract type alias" fixes.

  • #9108 don’t show the "Extract into variable" assist for unit expressions.

  • #9112 fix some bugs in the "Extract struct from enum variant" assist.

  • #9114 fix bind patterns always being treated as ref taking patterns.

  • #9117 allow "Expand macro" to be invoked anywhere inside a macro call.

  • #9137 fix incorrect unresolved import error when using derive helpers.

  • #9141 don’t inline mutable locals in the "Inline local variable" assist.

Internal Improvements

  • #8866 update salsa to pick upstream cancellation support.

  • #9077 use Name instead of String in the completion rendering API.

  • #9127 make variant fields inherit the enum’s visibility in the item tree.

  • #9155 replace attribute with equivalent whitespace.

  • #9025 display unknown types in analysis-stats.

  • #9145 enable attribute macro expansion in analysis-stats.

  • #9147 enable proc macros and build scripts by default in analysis-stats.

  • #9083 simplify proc_macro_srv tests.

  • #9110 simplify completion code.

  • #9124 apply a few clippy suggestions.

  • #9135 reorganize inlay_hints tests.