Skip to content

Commit ec38d40

Browse files
intellij-rust-botdima74
authored andcommitted
Changelog 197
1 parent 5f479dc commit ec38d40

7 files changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
layout: post
3+
title: "IntelliJ Rust Changelog #197"
4+
date: 2023-06-26 13:00:00 +0300
5+
---
6+
7+
8+
## New Features
9+
10+
* [#10552], [#10581], [#10569] Enable `Unused mut` inspection by default with several improvements
11+
12+
<img src="/assets/posts/changelog-197/unused_mut.png" width="700px"/>
13+
14+
* [#10579] Make [quick-fixes](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-code-generation.html#intention-actions) work inside an attribute macro expansion. Note that [attribute](https://doc.rust-lang.org/reference/procedural-macros.html#attribute-macros) procedural macro expansion is disabled by default. If you want to try it out, enable `org.rust.macros.proc.attr` [experimental feature](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-faq.html#experimental-features).
15+
16+
{% include gif-img.html path="/assets/posts/changelog-197/quick_fixes_attribute_macros" w="350px" %}
17+
18+
* [#10577] Add quick-fixes for incorrect `Display`/`Debug` format modifiers
19+
20+
{% include gif-img.html path="/assets/posts/changelog-197/change_display_to_debug" w="700px" %}
21+
22+
* [#10570] Highlight missing format string inside `println`-like calls
23+
24+
* [#10561] Support [parameter info](https://www.jetbrains.com/help/idea/viewing-reference-information.html) inside struct literal (<kbd>Ctrl</kbd>+<kbd>P</kbd>)
25+
26+
<img src="/assets/posts/changelog-197/struct_literal_parameter_info.png" width="350px"/>
27+
28+
* [#10550] Support `Unnecessary cast` inspection for function types
29+
30+
* [#10546] Provide unresolved imported items as completion items
31+
32+
* [#10545] Detect [E0061](https://doc.rust-lang.org/error-index.html#E0061) for function pointer types
33+
34+
* [#10539] Support [E0308](https://doc.rust-lang.org/error-index.html#E0308) for closure and function types
35+
36+
* [#10541] Add filename in error message for pre-commit rustfmt
37+
38+
* [#10572] Deprecate `box` syntax
39+
40+
## Fixes
41+
42+
* [#10586] Fix false-positive `Unnecessary cast` when casting enum constructors to function
43+
44+
* [#10563] Suggest [`Change signature`](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-refactorings.html#change-sign) refactoring when editing a signature of a method with explicit `self` type
45+
46+
* [#10548] Test inspections and error annotators against attribute procedural macros
47+
48+
* [#10540] Fix regression for [E0562](https://doc.rust-lang.org/error-index.html#E0562) in return types
49+
50+
Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/106?closed=1)
51+
52+
[#10539]: https://github.com/intellij-rust/intellij-rust/pull/10539
53+
[#10540]: https://github.com/intellij-rust/intellij-rust/pull/10540
54+
[#10541]: https://github.com/intellij-rust/intellij-rust/pull/10541
55+
[#10545]: https://github.com/intellij-rust/intellij-rust/pull/10545
56+
[#10546]: https://github.com/intellij-rust/intellij-rust/pull/10546
57+
[#10548]: https://github.com/intellij-rust/intellij-rust/pull/10548
58+
[#10550]: https://github.com/intellij-rust/intellij-rust/pull/10550
59+
[#10552]: https://github.com/intellij-rust/intellij-rust/pull/10552
60+
[#10556]: https://github.com/intellij-rust/intellij-rust/pull/10556
61+
[#10561]: https://github.com/intellij-rust/intellij-rust/pull/10561
62+
[#10563]: https://github.com/intellij-rust/intellij-rust/pull/10563
63+
[#10568]: https://github.com/intellij-rust/intellij-rust/pull/10568
64+
[#10569]: https://github.com/intellij-rust/intellij-rust/pull/10569
65+
[#10570]: https://github.com/intellij-rust/intellij-rust/pull/10570
66+
[#10572]: https://github.com/intellij-rust/intellij-rust/pull/10572
67+
[#10577]: https://github.com/intellij-rust/intellij-rust/pull/10577
68+
[#10579]: https://github.com/intellij-rust/intellij-rust/pull/10579
69+
[#10581]: https://github.com/intellij-rust/intellij-rust/pull/10581
70+
[#10585]: https://github.com/intellij-rust/intellij-rust/pull/10585
71+
[#10586]: https://github.com/intellij-rust/intellij-rust/pull/10586
Loading
Loading
Loading
Loading
Loading
25.9 KB
Loading

0 commit comments

Comments
 (0)