|
| 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 | +* [#10581] Support macros for unused `mut` inspection |
| 11 | + |
| 12 | +* [#10579] Support quick fixes in attribute proc macros |
| 13 | + |
| 14 | +* [#10577] Add quick-fixes for Display/Debug in format macros |
| 15 | + |
| 16 | +* [#10572] Deprecate `box` syntax |
| 17 | + |
| 18 | +* [#10570] Highlight missing format string inside `println`-like calls |
| 19 | + |
| 20 | +* [#10561] Make parameter info available inside struct literal |
| 21 | + |
| 22 | +* [#10552] Enable unused mut inspection by default |
| 23 | +changelog: Highlight unused mut as weak warning. Reduce highlight scope |
| 24 | + |
| 25 | +* [#10550] Support `Unnecessary cast` inspection for function types |
| 26 | + |
| 27 | +* [#10546] Provide unresolved imported items as completion items |
| 28 | + |
| 29 | +* [#10545] ANN: Detect E0061 for function pointer types |
| 30 | + |
| 31 | +* [#10541] FMT: Add filename in error message for pre-commit rustfmt |
| 32 | + |
| 33 | +* [#10539] ANN: Support E0308 for closure and function types |
| 34 | + |
| 35 | +## Fixes |
| 36 | + |
| 37 | +* [#10586] Use TyFunctionDef for enum variants and tuples |
| 38 | + |
| 39 | +* [#10585] Make `RsUnusedMutInspection` lint inspection |
| 40 | + |
| 41 | +* [#10569] Don't report unused mut in doctests |
| 42 | + |
| 43 | +* [#10563] Suggest `change signature` refactoring when editing a signature of a method with explicit `self` type |
| 44 | + |
| 45 | +* [#10556] INSP: Update `unused mut` description |
| 46 | + |
| 47 | +* [#10548] Test inspections and error annotators against attribute procedural macros |
| 48 | + |
| 49 | +* [#10540] ANN: Fix regression for E0562 in return types |
| 50 | + |
| 51 | +## Internal Improvements |
| 52 | + |
| 53 | +* [#10568] A bunch of MIR |
| 54 | + |
| 55 | +* [#10548] Test inspections and error annotators against attribute procedural macros |
| 56 | + |
| 57 | +Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/106?closed=1) |
| 58 | + |
| 59 | +[#10539]: https://github.com/intellij-rust/intellij-rust/pull/10539 |
| 60 | +[#10540]: https://github.com/intellij-rust/intellij-rust/pull/10540 |
| 61 | +[#10541]: https://github.com/intellij-rust/intellij-rust/pull/10541 |
| 62 | +[#10545]: https://github.com/intellij-rust/intellij-rust/pull/10545 |
| 63 | +[#10546]: https://github.com/intellij-rust/intellij-rust/pull/10546 |
| 64 | +[#10548]: https://github.com/intellij-rust/intellij-rust/pull/10548 |
| 65 | +[#10550]: https://github.com/intellij-rust/intellij-rust/pull/10550 |
| 66 | +[#10552]: https://github.com/intellij-rust/intellij-rust/pull/10552 |
| 67 | +[#10556]: https://github.com/intellij-rust/intellij-rust/pull/10556 |
| 68 | +[#10561]: https://github.com/intellij-rust/intellij-rust/pull/10561 |
| 69 | +[#10563]: https://github.com/intellij-rust/intellij-rust/pull/10563 |
| 70 | +[#10568]: https://github.com/intellij-rust/intellij-rust/pull/10568 |
| 71 | +[#10569]: https://github.com/intellij-rust/intellij-rust/pull/10569 |
| 72 | +[#10570]: https://github.com/intellij-rust/intellij-rust/pull/10570 |
| 73 | +[#10572]: https://github.com/intellij-rust/intellij-rust/pull/10572 |
| 74 | +[#10577]: https://github.com/intellij-rust/intellij-rust/pull/10577 |
| 75 | +[#10579]: https://github.com/intellij-rust/intellij-rust/pull/10579 |
| 76 | +[#10581]: https://github.com/intellij-rust/intellij-rust/pull/10581 |
| 77 | +[#10585]: https://github.com/intellij-rust/intellij-rust/pull/10585 |
| 78 | +[#10586]: https://github.com/intellij-rust/intellij-rust/pull/10586 |
0 commit comments