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 u8
to 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 console
for Debug runner on 2023.1 -
#10622 Add notification about disabling the
Test tool window
withRevert
button
Fixes
-
#10620 Highlight E0061
An invalid number of arguments was passed when calling a function
error for impl trait calls -
#10604 Don’t mishighlight cfg-disabled code in macro calls
-
#10628 Fix
Failed to get project sysroot
error when opening a project withrust-toolchain.toml
file the first time if the toolchain is not yet installed -
#10613 Fixes a lot of
Unresolved Reference
false-positives inruffle
project -
#10593 Take into account lint level by
Unused mut
inspection during highlighting -
#10619 Fix false positive unused
mut
inspection detection for some macros likewriteln!()
-
#10590 Move
Unused mut modifier
andUnnecessary cast
inspections toRust/Lint
group in inspection settings -
#10621 Don’t run
cargo clean
onBuild
action
Performance Improvements
- #10580 Specifying a display name for project configurables in
.xml
Internal Improvements
Full set of changes can be found here