5

Changelog #145

 2 years ago
source link: https://rust-analyzer.github.io/thisweek/2022/09/05/changelog-145.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Changelog #145

Sep 5, 2022

New Features

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

    Your browser does not support the video tag.
  • #13120 (first contribution) add assist to change between XXX_or and XXX_or_else:

    Your browser does not support the video tag.
  • #13145 add Unmerge match arm assist:

    Your browser does not support the video tag.
  • #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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK