Changelog #93

Commit: b73b321
Release: 2021-09-06

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #10088 only run cache priming after load to improve CPU usage.

  • #10092 improve "Extract struct from enum variant" output.

  • #10076 use struct init shorthand in "Fill struct fields" assist.

  • #9954 show try (?) operator propagated types on ranged hover:

    130111025 f7ee0742 214a 493b 947a b4a671e4be92
    130111024 f9caef82 92e4 4070 b3dd f2ff9e5d87a9

Fixes

  • #10139 (first contribution) fix for loop to for_each conversion with range expressions.

  • #10085 avoid panic when parsing extern block.

  • #10091 fix disjunction in conjunction panic in cfg parsing.

  • #10097 allow inherent impls for arrays.

  • #9405 fix missing parameters in "Extract function" with macros.

  • #10108 make "Go to implementation" multi-token mapping aware.

  • #10103 make "Find references" multi-token mapping aware.

  • #10109 enable flyimport for ident patterns.

  • #10114 deduplicate imports for "Qualify path".

  • #10124 use correct search scopes for macros.

  • #10127 don’t bail on failed macro call expansions when descending tokens:

    131887786 ced9988b 80fa 4e8f b114 337572950cc3
  • #10147 don’t panic if the client sends invalid request.

  • #10146 use placeholder as default type in "Generate function" and "Extract into function".

Internal Improvements

  • #9906, #10132 (first contribution) switch from the log crate to tracing.

  • #10081 (first contribution) fix some error messages.

  • #10078 use Ubuntu 18.04 on CI.

  • #10079 make upstream bug less annoying.

  • #10080 refactor panic handling in the main loop.

  • #10015 more declarative re-indentation API.

  • #10005 extend CargoConfig.unset_test_crates.

  • #10094 split database loading time in anaysis-stats into components.

  • #10095 augment panic context when resolving path.

  • #10100, #10101 clean up proc macro server error handling.

  • #10161 remove accidental code re-use.

  • #10148 make dev docs more discoverable.

  • #10145 update deps and pin libc to fix build error in rust-lang/rust.