Changelog #120

Commit: 5e85158
Release: 2022-03-14

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #11686 (first contribution) improve enum variant field completion, enum variant / struct consistency.

  • #11687 (first contribution) highlight escape sequences in byte strings.

  • #11445, #11647, #11658 BREAKING: switch to upstream inlay hints (requires Code 1.65):

    157213798 0bb2dd91 2e40 41c7 939c a63d366d9001
  • #11691 suggest union literals, suggest union fields within an empty union literal:

    158023335 84c03e39 daf0 4a52 b969 f40b01501cc8
    158023398 4695ae34 ce64 4f40 8494 68731a3030c6
  • #11676 offer qualified path completions in derives.

  • #11684 allow configuration of colons in inlay hints (rust-analyzer.inlayHints.renderColons).

Fixes

  • #11672 (first contribution) add support for new where clause location in associated types.

  • #11683 (first contribution) stop wrapping ConstParam default values in ConstArg.

  • #11660 insert dummy values for const generics in subst.

  • #11664 properly handle proc-macro crate types for nameres.

  • #11662 fix extract_module on inherent impls.

  • #11680 show what file paths were expected for unresolved modules.

  • #11644 emit more detailed highlighting for %, >>, <<.

  • #11696 detect NixOS when /etc/os-release includes quotes.

Internal Improvements

  • #11663 add hir_def::MacroId, add Macro{Id} to ModuleDef{Id}.

  • #11685 simplify CompletionContext.

  • #11693 remove ide_completion::render::build_ext module.

  • #11692 another round of clippy fixes.