IntelliJ Rust Changelog #185
New Features
-
#9803 Show type hints inside attribute procedural macros
Note that attribute procedural macro expansion is still disabled by default. If you want to try out, enable
org.rust.macros.proc.attr
experimental feature. -
#9858 Annotate half-open range patterns as experimental before Rust 1.66, and highlight syntactically invalid range patterns and inclusive ranges without end as errors
-
#9836 Respect
clippy::wrong_self_convention
attribute, avoiding the need to use additional IntelliJ-specific//noinspection RsSelfConvention
comments anymore (by @Techcable) -
#9816 Detect
Foreign items may not have type/const parameters
(E0044) error
Performance Improvements
-
#9841 Don’t perform some code analysis for cfg-disabled code
-
#9861 Speed up
Unused imports
inspection -
#9528 Speed up name resolution by resolving more cases of nested paths at once
-
#9869 Speed up macro resolution
Fixes
-
#9801 Fix flickering of external linter icon in the status bar during scans (by @afetisov)
-
#9866 Don’t remove unused imports marked with
#[allow(unused_imports)]
during import optimization -
#9851 Improve Extend Selection and Type Info actions inside macro calls
-
#9832 Fix the Type Info action (Ctrl+Shift+P) inside attribute procedural macro calls
-
#9804 Properly limit maximum depth of in-memory macro expansion
-
#9796 Take into account
impl
s expanded from macro calls inside function bodies andimpl
s located in doctests -
#9753 Improve the
include!
macro search -
#9347 Convert
Self
usages in the Convert Struct to Tuple refactoring -
#9341 Provide proper names for
Undo
/Redo
actions and records in Local history for changes made by plugin actions, intentions and refactorings (by @afetisov)
Internal Improvements
- #9754 Remove
RsExternCrateReexportIndex
andRsMacroCallIndex
since they are unused now
Full set of changes can be found here