Changelog #34

Commit: c9c518e
Release: 2020-07-20

Sponsors

New Features

  • #5378 support vararg functions.

  • #5354 add Cargo feature for enabling mimalloc allocator. Call for participation: pure Rust version of mimalloc would be really handy as cross-compilable fast allocator.

  • #5345 emit mutable modifier for self in semantic highlighting.

  • #5348 highlight punctuation using "operator" tag in semantic highlighting.

  • #5350 return only requested assists to the editor.

  • #5401 leverage chalk for type checking closures.

  • #5418 continue non-doc comments if there’s a trailing whitespace:

    87931694 7d050500 ca8a 11ea 8b3f c958663795e6
  • #5327 mark fixes from check on save as preferred.

  • #5430 Add turbofish assist works after ()

    87852942 8f563600 c906 11ea 808b 63e8bf3fc228

Fixes

  • #4676 upgrade procmacro ABI for the latest stable.

  • #5352, #5361 fix build on powerpc.

  • #5367 remove associated type bounds in Add Missing Members assist.

  • #5370 don’t insert duplicate () when completing tuple struct pattern.

  • #5377 fix goto definition for multi-segment macro paths.

  • #5379, #5396 guard against infinite macro expansion.

  • #5381 fix macro handling in type position.

  • #5385 fix off by one error when determining the active param.

  • #5390 fix progress registration error for check on save.

  • #5394 fix freeze when processing a certain crate with a lot of glob imports.

  • #5427 various fixes for Add/Remove # assists.

  • #5423 Correctly resolve associated types in path bindings.

Internal Improvements

  • #5357 use relaxed atomic ordering for single location test marks.

  • #5358, #5373 cleanup hir diagnostics API.

  • #5355, #5376 implement license check.

  • #5387 add --memory-usage to analysis-bench.

  • #5405, #5415, #5417 refactor support for callables, so that IDE features that work for functions, work for lambdas as well.

  • #5413 rewrite call info to use semantic information.

  • #5422 use expect! for snapshot testing in ra_hir_def.

  • #5433 simplify file exclusion logic in VFS.