Changelog #66

Commit: 5df3ee8
Release: 2021-03-01

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #7677 generate more enum matching methods:

    109462415 1c03cd80 7a6c 11eb 8ed8 9fed51c0acb5
  • #7741 add "convert for loop into iterator" assist:

    109151603 adbcc380 776a 11eb 92ab 5774a949c009
  • #7719 (first contribution) correctly parenthesize binary expression in the "apply De Morgan’s law" assist:

    109150372 1440e200 7769 11eb 8e13 afa4ac5b89ac

Fixes

  • #7749 make common assists easier to use.

  • #7753 (first contribution) add isize to the list of suffixed integers in typed_integer.

  • #7768 fix visibility computation inside block expressions.

  • #7772 pick up ConstReference patterns in FindUsages.

  • #7775 (first contribution) fix typo in manual.

  • #7792 (first contribution) change remaining occurrences of importMergeBehaviour to importMergeBehavior.

  • #7794 (first contribution) disable "Flip comma" assist inside macro calls.

  • #7801 restrict visibilities to the containing DefMap.

  • #7802, #7808 fix builtin macros splitting expression on commas.

  • #7803 fix non-Latin characters in MBE doc comment expansion:

    109409237 f58e5580 79cb 11eb 92ed a6700bbe39b5
  • #7805 highlight only the last segment of unresolved macros.

  • #7809 (first contribution) delete old issues from GitHub’s bug report template.

  • #7815 fix default allocator type in the inference of box expressions.

Internal Improvements

  • #7759 (first contribution) rename assists and ssr.

  • #7766 update Code npm dependencies.

  • #7770 make memory usage reporting during benchmarking more reliable.

  • #7566 add benchmark tests for MBE.

  • #7797 format generated lints and features manually to avoid long lines.

  • #7806 update remaining references to AnalysisChange.

  • #7807 directly link the changelog from the README.

  • #7804 introduce TypeCtor::Scalar.

  • #7812 use consistent naming for assist.

  • #7813 inline TypeCtor into Ty.

  • #7814 turn Ty::Tuple variant into a tuple-variant.

  • #7816 lift Ty::Fn into a struct.