Changelog #179

Commit: 3a27518
Release: 2023-05-01 (v0.3.1498)

New Features

  • #14690 add hover for closures:

    Screenshot showing a a closure hover with details about captured fields
  • #14513 add #[doc(alias(..))]-based field and function completions.

  • #14659 de-duplicate crates when extending crate graphs.

  • #14644, #14686 don’t underline whole for loops and iterator chains on errors.

Fixes

  • #14647 (first contribution) remove extra rustc argument in target layout loading.

  • #14641 register obligations during path inference.

  • #14652 fix pat fragment handling in the 2021 edition.

  • #14651 fix VS Code workspace root de-duplication.

  • #14689 force InitializeParams path drives to uppercase on Windows.

  • #14667 handle nested types in unwrap_result_return_type.

  • #14671 fix proc-macro-srv path config.

  • #14678 fix "Restart server" button trying to start instead of restart the server.

  • #14639 fix some typos in StructFlags.

Internal Improvements

  • #14648 (first contribution) specify --pre-release when publishing on the Code Marketplace.

  • #14658 remove proc-macro server command from the rust-analyzer binary.

  • #14654 fix status command panicking when additional LRU caches are set up.

  • #14636 remove unnecessary is_derive field from MacroCallKind::Attr.