IntelliJ Rust Changelog #91
New Features
-
Infer types for
tryblocks and generators -
Support
Introduce Parameterrefactoring (by @DaryaShirokova)
-
Provide
Make mutablequick fix forAssign to immutableinspection
-
Support
dbg!macro introduced in rust 1.32. Now all common IDE features work for expressions inside this macro -
Show type hints for local variables provided by bindings in
if let,while let,matchand struct destructure patterns -
Add
Put arguments on separate linesandPut arguments on one lineintentions (by @t-kameyama)
-
Add
printlnpostfix template (by @SomeoneToIgnore)
-
Initial support of macro 2.0 syntax. Note, all other features like name resolution, completion, etc. are not supported yet
-
Provide
lldbformatter forOsString -
Annotate the
yieldkeyword as experimental
Fixes
-
Correctly show variable values while debugging
-
Fix false positive
Use of moved valueerror annotations: correctly process bindings inif letandwhile let, and handle noreturn functions -
More precise type inference for types with complex trait bounds
-
Correctly process
impls forimpl Traittypes while name resolution -
Take into account super traits defined with
whereclause while name resolution (by @vlad9486 & @vlad20012) -
Enable console colors for output on Windows
-
Perform name resolution for associated type paths like
Self::Itemproperly -
Do not add extra lifetimes by
Implement membersquick fix (by @SomeoneToIgnore) -
Fix
lldbformatters forVec,Stringand other structures for nightly rust builds -
Fix name resolution of macros imported via wildcard
-
Forbid
Unwrap Single Exprintention forasyncandtryblocks -
Do not show two build actions in CLion 2019.1 toolbar
-
Improve type inference for
strtype. Now it doesn’t implement the traitSized(by @kumbayo) -
Expand macros correctly when
visfragment specifier should be mapped to the empty token
Internal Improvements
-
Introduce
lldbpretty-printers test runner -
Run tests with CLion
-
Drop 2018.2 platform support; compile plugin with 2019.1 EAP sources