Changelog #145

Commit: 67920f7
Release: 2022-09-05

New Features

  • #13005 (first contribution) add Convert match to matches! assist:

  • #13120 (first contribution) add assist to change between XXX_or and XXX_or_else:

  • #13145 add Unmerge match arm assist:

  • #13167 add support for unstable #[feature(exhaustive_patterns)] feature.

Fixes

  • #13134 highlight name references by syntax until proc macros are loaded.

  • #13149 unescape all occurrences of module name in module resolution.

  • #13151 prefer expression type in Replace turbofish with type.

  • #12793 sort and deduplicate auto traits in trait object types.

  • #13051 don’t move attributes when extracting a struct from an enum variant.

  • #13161 lower float literals containing underscores.

  • #13160 parse TypePathFn with preceding ::.

  • #13187 fix broken return completion.

  • #13165 properly handle break resolution inside non-breakable expressions.

  • #13183 fix nested break expressions expecting unknown types.

  • #13154 drop the expander borrow in all control flow paths.

Internal Improvements

  • #13174 lift out the module scope into a field in the Resolver.

  • #13056 use format arg captures in syntax::make.

  • #13156 remove hir::Expr::MacroStmts.

  • #13171 ignore failures when publishing to OVSX.

  • #12963 make generated code nice to read.

  • #13173 don’t store SyntheticSyntax in the reverse maps in BodySourceMap.

  • #13175 clarify the state of (extern) preludes for block def maps.