Changelog #123

Commit: 46d7ee6
Release: 2022-04-04

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #11699 (first contribution) add assist to remove unneeded asyncs:

  • #11879 suggest inferred types in completion (add : and trigger it manually):

  • #10802 allow clients to configure the global workspace search limit.

Fixes

  • #11869 (first contribution) allow tildes as code block fences:

    161207693 8e39997c 9ca6 4e69 8c65 e9b70899f7db
  • #11866 (first contribution) avoid underflows in range conversion.

  • #11857, #11886 decrease relevance of postfix completions.

  • #11840 fix another const generic panic.

  • #11842 fix duplicate type mismatches with blocks.

  • #11844 fix divergence detection for bare match arms.

  • #11852 expand asm! to infinite loops to improve type inference.

  • #11863 allow varargs in any param position.

  • #11870 recover from missing type annotation.

  • #11878 paper over GAT panic.

  • #11881 don’t rely on lang items to find primitive impls.

  • #11877 don’t add self when splitting glob imports.

  • #11887 add missing fields diagnostic fix for patterns.

  • #11865 select correct insert position for disabled group import.

Internal Improvements

  • #11849 (first contribution) change by_self to self and by_crate to crate in docs.

  • #11867, #11874 (first contribution) create Generate is, as, try_into assist group.

  • #11861 add View file text command to debug sync issues.

  • #11827 enforce invariant that Resolver always contains a ModuleScope.

  • #11871 move rust.ungram into rust-analyzer/crates/syntax.

  • #11872 remove PathResolution::AssocItem.

  • #11875 simplify completion.

  • #11882 record outline child modules with missing backing file in def map.

  • #11890 delete FUNDING.yml.