IntelliJ Rust Changelog #95
New Features
-
Initial CPU profiler support in CLion since 2019.1. At this moment it’s available only on Linux and macOS. The implementation is based on the Perf on Linux and DTrace on macOS. You can read more about profiler setup here. Note, on macOS we need rustfilt tool to show human readable function names and perform
Jump to Sourcecorrectly -
Implement deprecation inspection. It highlights items marked with
deprecatedandrustc_deprecatedattributes. To suppress these warnings you can addallow(deprecated)attribute. See the corresponding RFC for more details (by @isamborskiy) -
Support struct patterns with integer fields like
let S { 0: x } = expr(by @rrevenantt) -
Add
forpostfix completion. Its behavior is exactly the same asitertemplate -
Correctly perform name resolution for
foo!()macro call whenfoois proc macro.Goto definitionwill navigate you to the corresponding function
Fixes
-
Make
rustfmtcorrectly works with UTF-8 symbols whenRun rustfmt on Saveoption is enabled -
Fix type inference of generic function args, struct destructuring patterns and
vec!macro expression -
Fix name resolution for type-qualified paths like
<T as Foo>::bar