Changelog #89

Commit: 5664a2b
Release: 2021-08-09

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #9752 (first contribution) support proc_macro dependencies in project.json.

  • #9785 (first contribution) add struct literal completion:

    128211142 116361e9 7a69 425f 83ea 473c6ea47b26
  • #9814 generate default code when converting #[derive(Debug)] to a manual implementation:

    128694292 99a3e694 dd2b 42f5 9e38 798217f433b0
  • #9761 show coerced types on hover:

    127883884 2935b624 a3e5 4f35 861a 7d6d3266d187
    127883951 4ff96b6b 7576 4886 887b 1198c1121841
  • #9800 include suggested replacement in diagnostics:

    128521022 c16e0967 6cc6 410d 917d 5db5cfbb96be
  • #9810 add "missing reference" diagnostic:

    128681441 9024a0b1 1ef6 4b3c 92e1 01ac3497aa1e
  • #9816 implement "Convert if to bool::then" assist:

    128693801 51eeec03 55e5 4dd8 8fff 5b84251e7a12
  • #9734 add reference semantic highlighting modifier.

  • #9806 add support for the 1.56 nightly proc macro ABI.

  • #9772 filter out duplicate macro completions.

Fixes

  • #9771 (first contribution) give better error message when the rust-analyzer binary path is invalid.

  • #9801 don’t publish diagnostics in crates.io or sysroot files.

  • #9762 fix ranged hover result range.

  • #9764 don’t use the module as the candidate node in fuzzy path flyimport.

  • #9770 downgrade notify to fix building on NetBSD.

  • #9773 improve the "Extract function" assist.

  • #9775 handle ownership in "Extract function".

  • #9786 fix detection of macro files in the inactive code diagostic.

  • #9788 don’t move locals defined outside loops in "Extract function".

  • #9780 support exclusive_range_pattern.

  • #9790 handle generics correctly in "Extract type alias".

  • #9794 fix binders with bare dyn Trait.

  • #9808 gather enum variants and associated trait functions when collecting lang items.

  • #9812 add ! to macro completions with existing argument list.

  • #9817 increase chalk overflow depth for tonic.

Internal Improvements

  • #9756 make resolve_doc_path is to resolve to macros.

  • #9757 completion cleanups.

  • #9758 explain that we don’t ref in style.md.

  • #9759 simplify inline_local_variable assist.

  • #9751 make LoadCargoConfig, fn load_workspace_at and fn load_workspace public again.

  • #9765 introduce TypeInfo to record coercions and other adjustments.

  • #9793 remove unused structs in ide_db.