Changelog #189

Commit: ff15634
Release: 2023-07-10 (v0.3.1583)

New Features

  • #15081 (first contribution) add a memory layout viewer:

    Screenshot showing a memory layout view for a struct with `i32`, `u8`, `Vec<bool>` and `usize` fields.
  • #15152 add Generate trait from impl assist:

    Screen recording showing the assist generating a trait from an `impl` block
  • #14990 map our diagnostics to the rustc and clippy ones.

  • #15186 don’t add panics to error jump list by default.

Fixes

  • #15118 (first contribution) follow raw pointers in autoderef chain when resolving methods with custom receiver.

  • #15235 (first contribution) don’t insert semicolon when extracting match arm.

  • #15226 make Expand glob import work on enum imports.

  • #15211 support GATs in bounds for associated types.

  • #15223 don’t show unresolved-field diagnostic for missing names.

  • #15216 don’t mark braces around self imports as unnecessary.

  • #15212 recover from missing associated items and generic const defaults.

  • #15245 fix missing terminator in pattern matching of consts.

  • #15222 fix size_of_val and support min_align_of_val intrinsic.

  • #15244 support read_via_copy intrinsic.

  • #15228 implement recursion in MIR interpreter without recursion.

  • #15230 use Debug impl for const eval result rendering.

  • #15227 indent after pressing enter on a blank line.

Internal Improvements

  • #15202 don’t diagnose built-in derives.

  • #15204 add analysis-stats flag to trigger some IDE features.

  • #15149 speed up line index calculation via SSE2.

  • #15219 unify Generate getter and setter assists.

  • #15205 split out project loading capabilities from the rust-analyzer crate.

  • #15203 shuffle some proc_macro_expand query things around.

  • #15209 use stronger typing for AstId and AstIdMap.

  • #15181 clean up ImportMap.

  • #15210 remove CfgExpander.

  • #15206 format let-else.

  • #15224 replace x with it.

  • #15160 enable noUncheckedIndexedAccess and noPropertyAccessFromIndexSignature TypeScript options.

  • #15234 remind user to check PATH after installation.