IntelliJ Rust Changelog #164
This is the last release that supports the 2021.2 IDEs. To receive plugin updates further, please upgrade your IDE to 2021.3.
New Features
-
#8438 Enable the
.refand.refmpostfix completions for type references (by @Kobzol)
-
#8441 Parse
inline_const/inline_const_patsyntax and annotate them as experimental -
#8410 Infer type of
&raw constand&raw mutoperators. As a result, the plugin now knows the proper type ofaddr_of!andaddr_of_mut!macro calls from stdlib
Fixes
-
#8392, #8402 Suppress
Unresolved referenceinspection in test mods in packages with cyclic dev-dependencies or if the path qualifier is multiresolved -
#8146 Take into account const generics in
Wrong generic arguments numberinspection and corresponding quick-fixes -
#8447 Properly add new module declaration by
Attach file to modulequick-fix if a new module has a keyword-like name -
#8375 Make
Add missing fieldsquick-fix work properly with raw identifiers -
#8411 Fix adding trait imports for usages in
Extract Traitrefactoring -
#8408 Fix
Find usageswhen usage is in a module with a relative path attribute -
#8430 Mark usages in doctests as “Test usages” in IntelliJ IDEA
-
#8292 Improve
Preferences | Editor | Inlay Hintsrendering: drop redundant options and fix wording -
Name resolution improvements:
-
#8418 Fix resolve of macros 2.0 in doctests
-
#8404 Resolve
selfinuse proc_macro_crate::{self} -
#8401 Resolve items inside mods named as primitive types
-
#8418 Resolve and expand attribute proc macros in doctests
-
-
#8398 Fix expansion of
pin_project_lite::pin_projectmacro inside function bodies -
#8400 Fix Cargo features inference with renamed packages with hyphens
-
#8376 Fix an exception during a new project creation after dynamic plugin loading
Internal Improvements
-
#8444 Create a release branch one day earlier, i.e. usually on Monday morning one week before release
-
#8389 Use Java 11 as the target level during compilation and as language level in the project. So now, it’s possible to use any Java 11 API
Full set of changes can be found here