|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "IntelliJ Rust Changelog #193" |
| 4 | +date: 2023-04-24 13:00:00 +0300 |
| 5 | +--- |
| 6 | + |
| 7 | + |
| 8 | +## New Features |
| 9 | + |
| 10 | +* [#8842] Provide lint-based suppress quick-fixes for some external linter annotations |
| 11 | + |
| 12 | + {% include gif-img.html path="/assets/posts/changelog-193/suppress" w="700px" %} |
| 13 | + |
| 14 | +* [#10294] Add intention to create an enum variant from usage |
| 15 | + |
| 16 | + {% include gif-img.html path="/assets/posts/changelog-193/enum-variant" w="700px" %} |
| 17 | + |
| 18 | +* [#10322], [#10335] Parse reserved keywords properly, annotate them and suggest to escape |
| 19 | + |
| 20 | + {% include gif-img.html path="/assets/posts/changelog-193/keywords" w="700px" %} |
| 21 | + |
| 22 | +* Detect new compiler errors: |
| 23 | + |
| 24 | + * [#10311] A where clause contains a nested quantification over lifetimes [E0316] |
| 25 | + |
| 26 | + * [#10288] Multiple types were used as bounds for a closure or trait object [E0225] |
| 27 | + |
| 28 | + * [#10272] Manual implementation of a `Fn*` trait [E0183] |
| 29 | + |
| 30 | + * [#10272] The precise format of `Fn`-family traits' type parameters is subject to change [E0658] |
| 31 | + |
| 32 | + * [#10272] Parenthetical notation is only stable when used with `Fn`-family traits [E0658] |
| 33 | + |
| 34 | +* [#10339] Unwrap `Ok(...)?` and `Some(...)?` in `Inline function` refactoring |
| 35 | + |
| 36 | + |
| 37 | +## Performance Improvements |
| 38 | + |
| 39 | +* [#10331] Don't expand special macros (e.g., `vec!`) in `Liveness analysis` inspection |
| 40 | + |
| 41 | +## Fixes |
| 42 | + |
| 43 | +* [#10317] Provide proper completion/annotation for crate names and versions in `Cargo.toml` when [sparse](https://doc.rust-lang.org/cargo/reference/registries.html#registry-protocols) protocol is used |
| 44 | + |
| 45 | +* [#10338] Fix handling async function in `Inline function` refactoring |
| 46 | + |
| 47 | +* [#10308] Fix handling paths to associated constants in `Implement members` intention |
| 48 | + |
| 49 | +Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/102?closed=1) |
| 50 | + |
| 51 | +[E0183]: https://doc.rust-lang.org/error_codes/E0183.html |
| 52 | +[E0225]: https://doc.rust-lang.org/error_codes/E0225.html |
| 53 | +[E0316]: https://doc.rust-lang.org/error_codes/E0316.html |
| 54 | +[E0658]: https://doc.rust-lang.org/error_codes/E0658.html |
| 55 | + |
| 56 | +[#8842]: https://github.com/intellij-rust/intellij-rust/pull/8842 |
| 57 | +[#10272]: https://github.com/intellij-rust/intellij-rust/pull/10272 |
| 58 | +[#10288]: https://github.com/intellij-rust/intellij-rust/pull/10288 |
| 59 | +[#10294]: https://github.com/intellij-rust/intellij-rust/pull/10294 |
| 60 | +[#10308]: https://github.com/intellij-rust/intellij-rust/pull/10308 |
| 61 | +[#10311]: https://github.com/intellij-rust/intellij-rust/pull/10311 |
| 62 | +[#10317]: https://github.com/intellij-rust/intellij-rust/pull/10317 |
| 63 | +[#10322]: https://github.com/intellij-rust/intellij-rust/pull/10322 |
| 64 | +[#10331]: https://github.com/intellij-rust/intellij-rust/pull/10331 |
| 65 | +[#10335]: https://github.com/intellij-rust/intellij-rust/pull/10335 |
| 66 | +[#10338]: https://github.com/intellij-rust/intellij-rust/pull/10338 |
| 67 | +[#10339]: https://github.com/intellij-rust/intellij-rust/pull/10339 |
0 commit comments