Changelog #56
Commit: 5e2935e
Release: 2020-12-21
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#6779upgrade to LSP 3.16. Note, this is sadly not as backwards compatible as we would like, if you see errors during project loading, please stick to the previous version of rust-analyzer until the next release. -
#6907support goto definition, reference search and rename for lifetimes. -
#6934supportcfg_attr. -
#6874supportmodule_path!()built-in macro. -
#6861generateDefaultforenum. -
#6897basic support for macros 2.0. -
#6932detect when bothrust-lang.rustandmatklad.rust-analyzerextensions are active and suggest to disable one.
Fixes
-
#6885actually ship language configuration with VS Code extension. -
#6889fix false positive macro diagnostic onasm!andllvm_asm!macros. -
#6886expand statements for macros in lowering. -
#6894parenthesize composite if condition before inverting in invert-if assist. -
#6909avoid querying attributes in item tree lowering. -
#6912default to host platform for cargo metadata. -
#6901fix a couple of proc-macro related panics. -
#6929handle$_in declarative macros.
Internal Improvements
-
#6817replacegoblincrate withobject. -
#6862add lifetimes to the the internal code representations. -
#6893treatmacro_rules!as a special syntax and not as a macro call. -
#6879makeHasChildSourcegeneric over the type of child. -
#6906document GitHub organization permissions and privileges. -
#6896node-ify lifetimes. -
#6911don’t passdbaround so often. -
#6919rewrite "run this doctest" functionality.