Changelog #118

Commit: 4e72700
Release: 2022-02-28

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #11549 (first contribution) add support for concat_bytes!.

  • #11481 display parameter names when hovering over a function pointer alias:

    155932516 2459a4e5 dae8 40bc a094 adc64d48025e
  • #11513 expand derive attribute into a pseudo expansion:

    155107902 abca028d f985 408a b2ec 97aa34e8ae83
    155108170 b0e81d69 3533 4ad3 8f81 c34ce87dc46b
  • #11462 highlight continue points:

    155933288 3e1a1e43 6dcc 4ced 9385 f469d9a39a99
  • #11375 add support for if- and while- let chains.

  • #11538 disable private-editable completions by default (controlled by rust-analyzer.completion.privateEditable.enable).

Fixes

  • #11461 (first-contribution) filter generics in Extract struct from enum variant.

  • #11531 (first contribution) make fill_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 to cargo when using the Run action.

  • #11540 resolve private fields in type inference.

  • #11490 fix doc test formatting with generics.

  • #11525 drop generic args in path in replace_qualified_name_with_use.

  • #11562 don’t emit unresolvedReference 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 fix expand_macro always expanding the first listed derive.

  • #11472 fix visibility in impl items and change pub(crate) to pub in extract_module.

  • #11552 properly display $crate in hovers.

  • #11554 fix type mismatches with unreachable! in Rust 1.59.

  • #11565 fix body selection in while loops with block conditions.

  • #11567 fix if with block conditions.

  • #11514 update manual for coc-rust-analyzer.

Internal Improvements

  • #11573 reuse buffer in TextEdit::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 of mbe.

  • #11536 resolve functions as proc-macros via FileAstId.

  • #11537 reduce visibility of proc-macros to pub(crate) in nameres.

  • #11548 add CSV output to analysis-stats.

  • #11564 clean up highlighting tests.

  • #11560 update url to make webrender build when computing metrics.