|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "IntelliJ Rust Changelog #182" |
| 4 | +date: 2022-11-07 13:00:00 +0300 |
| 5 | +--- |
| 6 | + |
| 7 | + |
| 8 | +## New Features |
| 9 | + |
| 10 | +* [#9650] Increase the minimal supported version of Rust to 1.56 |
| 11 | + |
| 12 | +* [#9628] Enable [function-like](https://doc.rust-lang.org/reference/procedural-macros.html#function-like-procedural-macros) procedural macro expansion in [nightly plugin builds](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly) |
| 13 | + |
| 14 | +* [#9526] Suggest the proper type of braces while a procedural macro call completion |
| 15 | + |
| 16 | +* [#9349] Decorate MSVC type names when rendering values in the debugger on Windows. This can be disabled via the `Decorate MSVC type names` checkbox in the `File | Settings | Build, Execution, Deployment | Debugger | Data Views | Rust` settings |
| 17 | + |
| 18 | +* [#9105] Provide ability to run a specific [documentation test](https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html) [all the ways](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-testing.html) you can run a usual test (gif image here) (by [@Kobzol]) |
| 19 | + |
| 20 | +* [#8916] Fix emulating terminal in output console in some cases |
| 21 | + |
| 22 | +* [#8755] Add basic parsing support for `let_chains` (by [@Kobzol]) |
| 23 | + |
| 24 | +* [#7134] Add a quickfix to generate missing trait member definitions in trait implementations (by [@Sejsel]) |
| 25 | + |
| 26 | +## Fixes |
| 27 | + |
| 28 | +* [#9639] Fix false-positive `trait bound is not satisfied E0277`. Can be merged with #9598 point |
| 29 | + |
| 30 | +* [#9637] Don't fail build script evaluation without native helper binary |
| 31 | + |
| 32 | +* [#9631] fix type inference in the case of normalizable associated type projections like `<A as B>::C` |
| 33 | + |
| 34 | +* [#9627] Don't show line markers for tests in dependence crates |
| 35 | + |
| 36 | +* [#9620] Ty: normalize associated type in `impl` item trait ref |
| 37 | + |
| 38 | +* [#9614] Fix expansion of attribute and derive procedural macros inside functions |
| 39 | + |
| 40 | +* [#9598] 1. Fix `trait bound is not satisfied E0277` false-positives when implementing `Ord`/`Eq` traits 2. Correctly infer types when `Self` type is used in trait inheritance like `trait Bar: Foo<Self>` |
| 41 | + |
| 42 | +* [#9586] Ty: infer const arguments in struct literal paths |
| 43 | + |
| 44 | +* [#9562] Fix `Create module file` quick-fix in 2022.3 |
| 45 | + |
| 46 | +* [#9559] Fix duplicate completion of attribute procedural macros when it is imported locally |
| 47 | + |
| 48 | +* [#9556] Temporary disable `Insert imports on paste` feature because it may be slow when copying large code fragments |
| 49 | + |
| 50 | +* [#9552] Properly infer type of custom macros which shadow built-in macros |
| 51 | + |
| 52 | +* [#9550] Don't resolve and complete macros after `::` |
| 53 | + |
| 54 | +* [#9469] Fix issue #9468 random false-positive `Variable is never used` |
| 55 | + |
| 56 | +* [#9170] Fix raw identifier in `use declarations` not complete (by [@Stzx]) |
| 57 | + |
| 58 | +* [#7450] Improve type inference of array sizes (by [@Kobzol]) |
| 59 | + |
| 60 | +## Internal Improvements |
| 61 | + |
| 62 | +* [#9615] MACRO: split `org.rust.macros.proc` experimental feature into 3 features |
| 63 | + |
| 64 | +Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/91?closed=1) |
| 65 | + |
| 66 | +[@Kobzol]: https://github.com/Kobzol |
| 67 | +[@Sejsel]: https://github.com/Sejsel |
| 68 | +[@Stzx]: https://github.com/Stzx |
| 69 | + |
| 70 | +[#7134]: https://github.com/intellij-rust/intellij-rust/pull/7134 |
| 71 | +[#7450]: https://github.com/intellij-rust/intellij-rust/pull/7450 |
| 72 | +[#8755]: https://github.com/intellij-rust/intellij-rust/pull/8755 |
| 73 | +[#8916]: https://github.com/intellij-rust/intellij-rust/pull/8916 |
| 74 | +[#9105]: https://github.com/intellij-rust/intellij-rust/pull/9105 |
| 75 | +[#9170]: https://github.com/intellij-rust/intellij-rust/pull/9170 |
| 76 | +[#9349]: https://github.com/intellij-rust/intellij-rust/pull/9349 |
| 77 | +[#9469]: https://github.com/intellij-rust/intellij-rust/pull/9469 |
| 78 | +[#9526]: https://github.com/intellij-rust/intellij-rust/pull/9526 |
| 79 | +[#9550]: https://github.com/intellij-rust/intellij-rust/pull/9550 |
| 80 | +[#9552]: https://github.com/intellij-rust/intellij-rust/pull/9552 |
| 81 | +[#9556]: https://github.com/intellij-rust/intellij-rust/pull/9556 |
| 82 | +[#9559]: https://github.com/intellij-rust/intellij-rust/pull/9559 |
| 83 | +[#9562]: https://github.com/intellij-rust/intellij-rust/pull/9562 |
| 84 | +[#9586]: https://github.com/intellij-rust/intellij-rust/pull/9586 |
| 85 | +[#9598]: https://github.com/intellij-rust/intellij-rust/pull/9598 |
| 86 | +[#9614]: https://github.com/intellij-rust/intellij-rust/pull/9614 |
| 87 | +[#9615]: https://github.com/intellij-rust/intellij-rust/pull/9615 |
| 88 | +[#9620]: https://github.com/intellij-rust/intellij-rust/pull/9620 |
| 89 | +[#9627]: https://github.com/intellij-rust/intellij-rust/pull/9627 |
| 90 | +[#9628]: https://github.com/intellij-rust/intellij-rust/pull/9628 |
| 91 | +[#9631]: https://github.com/intellij-rust/intellij-rust/pull/9631 |
| 92 | +[#9637]: https://github.com/intellij-rust/intellij-rust/pull/9637 |
| 93 | +[#9639]: https://github.com/intellij-rust/intellij-rust/pull/9639 |
| 94 | +[#9650]: https://github.com/intellij-rust/intellij-rust/pull/9650 |
0 commit comments