Skip to content

Commit ba7ac29

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

7 files changed

+77
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
* Improvements of `Unused mut` inspection
11+
12+
* [#10552] Enable the inspection by default and improve highlighting
13+
14+
* [#10581] Handle usages in macros
15+
16+
* [#10569] Don't show warnings in [doctests](https://doc.rust-lang.org/rustdoc/documentation-tests.html)
17+
18+
<img src="/assets/posts/changelog-197/unused_mut.png" width="700px"/>
19+
20+
* [#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).
21+
22+
{% include gif-img.html path="/assets/posts/changelog-197/quick_fixes_attribute_macros" w="350px" %}
23+
24+
* [#10577] Add quick-fixes for incorrect `Display`/`Debug` format modifiers
25+
26+
{% include gif-img.html path="/assets/posts/changelog-197/change_display_to_debug" w="700px" %}
27+
28+
* [#10570] Highlight missing format string inside `println`-like calls
29+
30+
* [#10561] Support [parameter info](https://www.jetbrains.com/help/idea/viewing-reference-information.html) inside struct literal (<kbd>Ctrl</kbd><kbd>P</kbd>)
31+
32+
<img src="/assets/posts/changelog-197/struct_literal_parameter_info.png" width="350px"/>
33+
34+
* [#10550] Support `Unnecessary cast` inspection for function types
35+
36+
* [#10546] Provide unresolved imported items as completion items
37+
38+
* [#10545] Detect [E0061](https://doc.rust-lang.org/error-index.html#E0061) for function pointer types
39+
40+
* [#10539] Support [E0308](https://doc.rust-lang.org/error-index.html#E0308) for closure and function types
41+
42+
* [#10541] Add filename in error message for pre-commit rustfmt
43+
44+
* [#10572] Deprecate `box` syntax
45+
46+
## Fixes
47+
48+
* [#10586] Fix false-positive `Unnecessary cast` when casting enum constructors to function
49+
50+
* [#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
51+
52+
* [#10548] Test inspections and error annotators against attribute procedural macros
53+
54+
* [#10540] Fix regression for [E0562](https://doc.rust-lang.org/error-index.html#E0562) in return types
55+
56+
Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/106?closed=1)
57+
58+
[#10539]: https://github.com/intellij-rust/intellij-rust/pull/10539
59+
[#10540]: https://github.com/intellij-rust/intellij-rust/pull/10540
60+
[#10541]: https://github.com/intellij-rust/intellij-rust/pull/10541
61+
[#10545]: https://github.com/intellij-rust/intellij-rust/pull/10545
62+
[#10546]: https://github.com/intellij-rust/intellij-rust/pull/10546
63+
[#10548]: https://github.com/intellij-rust/intellij-rust/pull/10548
64+
[#10550]: https://github.com/intellij-rust/intellij-rust/pull/10550
65+
[#10552]: https://github.com/intellij-rust/intellij-rust/pull/10552
66+
[#10556]: https://github.com/intellij-rust/intellij-rust/pull/10556
67+
[#10561]: https://github.com/intellij-rust/intellij-rust/pull/10561
68+
[#10563]: https://github.com/intellij-rust/intellij-rust/pull/10563
69+
[#10568]: https://github.com/intellij-rust/intellij-rust/pull/10568
70+
[#10569]: https://github.com/intellij-rust/intellij-rust/pull/10569
71+
[#10570]: https://github.com/intellij-rust/intellij-rust/pull/10570
72+
[#10572]: https://github.com/intellij-rust/intellij-rust/pull/10572
73+
[#10577]: https://github.com/intellij-rust/intellij-rust/pull/10577
74+
[#10579]: https://github.com/intellij-rust/intellij-rust/pull/10579
75+
[#10581]: https://github.com/intellij-rust/intellij-rust/pull/10581
76+
[#10585]: https://github.com/intellij-rust/intellij-rust/pull/10585
77+
[#10586]: https://github.com/intellij-rust/intellij-rust/pull/10586
Loading
Loading
Loading
Loading
Loading
25.9 KB
Loading

0 commit comments

Comments
 (0)