Changelog #36
Commit: e96bfd8
Release: 2020-08-03
Sponsors
Become a sponsor: opencollective.com/rust-analyzer
New Features
-
We started the effort to share the parser between rust-analyzer and rustc. This will take a while to complete, and won’t give any new user-visible features until completion. As the first step, rust-analyzer now uses this grammar to generate syntax tree structure.
-
#5547fold multiline parameter lists. -
#5561: allow running more tests at once via the module runners:
-
#5563Check all targets for package-level tasks. When invoking "Select Runnable" with the caret on a runnable with a specific target (test, bench, binary), append the corresponding argument for thecargo check -pmodule runnable. -
#5586Support new sysroot layout on nightly.
Fixes
-
#5596add checkOnSave.noDefaultFeatures and correct how we handle some cargo flags. -
#5565don’t mix non-path-based rules with path-based in Structural Search Replace. -
#5554fix Remove dbg assist to not remove meaningful parenthesis and semicolons. -
#5567wrap placeholder expansions in SSR in parenthesis when necessary. -
#5513when generating launch.json configurations, correctly handle multi-folder workspaces.
Internal Improvements
-
#5572Switch to ungrammar for generating syntax trees. -
#5574Replace rand with oorandom. -
#5581Use perf-events to measure number of instructions in addition to wall clock time for metrics to get more stable measurements on CI. That plan was foiled by perf not working on the CI. -
#5573,#5578, … : rename various AST typesOld Name New Name ast::NominalDefast::AdtDefast::ModuleItemast::Itemast::Aliasast::Renameast::TypeParamListast::GenericParamListast::TypeRefast::Typeast::PlaceholderTypeast::InferTypeast::DotDotPatast::RestPat