IntelliJ Rust Changelog #198
Update on Procedural Macros Support
#10607 We finally enabled attribute procedural macro expansion by default 🎉
Now generated items are suggested in code completion and considered in other code insight features:

New Features
-
Completion improvements:
-
#10605 Suggest replacing casts like
1 as u8to a literal suffix1u8
-
#10608 Show inlay hints for exclusive range patterns and expressions

-
#10602 Highlight
compile_error!()usage as an error -
#10640 Parse default parameter values (
fn foo(a: i32 = 1) {}) and highlight that they are not supported in Rust -
#10119 Support
Emulate terminal in output consolefor Debug runner on 2023.1 -
#10622 Add notification about disabling the
Test tool windowwithRevertbutton
Fixes
-
#10620 Highlight E0061
An invalid number of arguments was passed when calling a functionerror for impl trait calls -
#10604 Don’t mishighlight cfg-disabled code in macro calls
-
#10628 Fix
Failed to get project sysrooterror when opening a project withrust-toolchain.tomlfile the first time if the toolchain is not yet installed -
#10613 Fixes a lot of
Unresolved Referencefalse-positives inruffleproject -
#10593 Take into account lint level by
Unused mutinspection during highlighting -
#10619 Fix false positive unused
mutinspection detection for some macros likewriteln!() -
#10590 Move
Unused mut modifierandUnnecessary castinspections toRust/Lintgroup in inspection settings -
#10621 Don’t run
cargo cleanonBuildaction
Performance Improvements
- #10580 Specifying a display name for project configurables in
.xml
Internal Improvements
Full set of changes can be found here


