Changelog #139

Commit: 7e2b983
Release: 2022-07-25

New Features

  • #12549, #12841 make Go to implementation work on trait methods:

  • #12286 don’t ignore the path prefix in Generate constant:

  • #12798 drop support for the 1.47–1.58 proc macro ABIs.

  • #12795 add support for the 1.64 nightly proc macro ABI.

  • #12859 don’t highlight the whole fn on return-type mismatch.

Fixes

  • #12821 (first contribution) don’t generate default PartialEq::ne.

  • #12811 (first contribution) insert pub(crate) after doc comments and attribute macros.

  • #12863 fix missing fields check on destructuring assignment.

  • #12809 work around Code bug with empty diagnostics.

  • #12789 prevent panic on overlapping ranges in Remove Unused Parameter.

  • #12788 fix Extract variable for subexpression with mutable borrow.

  • #12646 escape receiver texts in completion

  • #12825 make searching for associated trait items consistent.

  • #12844 improve syntax highlighting in attributes

  • #12847 don’t duplicate language clients in Restart server.

  • #12850 fix error tooltip message for VSCode status bar item.

  • #12851 don’t add braces to 'if' completion in match guard position.

  • #12832 don’t try to implement default members.

  • #12861 include receiver in struct field autocomplete.

  • #12807 add basic support for completion item details.

  • #12804 clarify rust-analyzer.files.watcher and add enum variants for it.

  • #12796 use to_owned instead of to_string in &str to String.

Internal Improvements

  • #12827 construct fewer AstIdMaps while lowering.

  • #12840 use ItemTree for variant, field and module attribute collection in attrs_query.

  • #12849 don’t parse files unnecessarily in scope_for_offset.

  • #12800 find original AST node before calling compute_ref_match.

  • #12817 bump expect-test and set CARGO_WORKSPACE_DIR.

  • #12826 enable (and fix) extra lint groups required for building inside rust-lang/rust.

  • #12828 rename proc macro server from Rustc to RustAnalyzer.

  • #12829 remove check_merge_commits test.

  • #12831 build proc-macro-test-impl out-of-tree.

  • #12833 add proc-macro-srv integration test that clones literals.

  • #12834 add PROC_MACRO_TEST_TOOLCHAIN environment variable.

  • #12835 introduce proc-macro-srv/sysroot-abi feature.

  • #12854 fix generate_new description.