Changelog #70

Commit: 01dc53a
Release: 2021-03-29

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #8054 add Move item commands (LSP extension):

    112793739 7e052200 906e 11eb 9ed4 1b396ef7d6dc
    112793747 83626c80 906e 11eb 9a96 a075e8d38d6e
  • #8178 show item info when hovering intra-doc links:

    112197618 91e2fb00 8c0c 11eb 9edc a7923214d2b6
  • #8056 on completion, take into account whether types unify:

    111338556 46d94e80 8634 11eb 9936 2b20eb9e6756
    111338598 4e005c80 8634 11eb 92e0 69c2c1cda6fc
  • #8212 implement basic macros 2.0 support:

    112712565 6eb99380 8f0b 11eb 88de 5d7f974dfe6d

Fixes

  • #8156 correctly lower `TraitRef`s with default params.

  • #8144 (first contribution) fix crash when trying to display closure types.

  • #8142 hide incorrect ref match completions for struct fields/methods.

  • #8138 set up a search scope when searching for MBE macro references.

  • #8159 try to ignore proc-macro stdout to prevent IPC crashes.

  • #8182 trim down IPC JSON size.

  • #8177 limit hints size by default.

  • #8183 fix spurious "Missing command" lenses on macros.

  • #8168 fix "Convert to guarded return" for mutable bindings.

  • #8189 document unlinked-file diagnostic.

  • #7907 take visibility into account for autoderef.

  • #8194 finally fix version string display in release binaries.

  • #8206 ignore main functions outside of the root module.

  • #8201 fix recursive macro statements expansion.

  • #8213 include const generic in impl generation.

  • #8214 mention the rustup component in the installation instructions.

  • #8221 prefer adding mod declaration to lib.rs over file.rs in unlinked-file fix.

  • #8141 don’t suggest long looping paths for imports.

  • #8155 fix confusion between functions and parameters.

  • #8191, #8209 fix slight memory leak in syntax.

Internal Improvements

  • #8136, #8190 introduce QuantifiedWhereClause and DynTy analogous to Chalk.

  • #8139 align Canonical and InEnvironment with the Chalk versions.

  • #8154 rewrite "Merge use trees" assist using mutable syntax trees.

  • #8165 tweak assist API to fit mutable syntax trees.

  • #8169 make more use of the HIR in rename::rename_to_self.

  • #8170 merge bang-macros and derives in name resolution.

  • #8187 sweep the new TraitEnvironmentQuery.

  • #8145 document our security stance.

  • #8146 document patch policy.