Changelog #124

Commit: 24cf957
Release: 2022-04-11

Sponsors

Become a sponsor: On OpenCollective or GitHub Sponsors.

New Features

  • #11938 improve associated item completion in trait impls:

    162481277 2a0d2f21 dc20 4452 804d 6370766216b6

Fixes

  • #11894 (first contribution) complete pattern args based on type name

  • #11891 show error message when flycheck fails.

  • #11915 attempt to heuristically resolve paths in const arguments in IDE layer.

  • #11953 make extract_module more lazy.

  • #11896 show path to be created in the unresolved-module fix label.

  • #11899 skip match check on patterns of unexpected TyKind::FnDef.

  • #11911 use correct text ranges in SearchScope for macro-emitted inline modules.

  • #11914 fix path qualifiers not resolving generic type params when shadowed by trait.

  • #11926 fix panics with #[cfg]’d-out `self parameter.

  • #11920 fix spurious type mismatch error for const generics with value parameters.

  • #11931 flyimport: omit types when completing where-clause

  • #11936 ignore Drop and Destruct bounds for now.

  • #11942 check whether a parameter can be converted to a local.

  • #11943 don’t create hir::Locals from const path patterns.

  • #11954 parse for<'a> closure syntax.

Internal Improvements

  • #11904 wrap macros in expr position in MacroExpr node.

  • #11905 remove hir_expand macro recursion check.

  • #11916 add more doc-link tests.

  • #11924 remove FnFlags::IS_IN_EXTERN_BLOCK.

  • #11927 use bitflags for FnFlags.

  • #11925 add and start using HirFormatter::write_{str,char}.

  • #11930 move function unsafety determination out of the ItemTree.