Skip to content

Commit 71ccd55

Browse files
committed
WIP: Changelog 182
1 parent 7589dc2 commit 71ccd55

File tree

1 file changed

+38
-25
lines changed

1 file changed

+38
-25
lines changed

_posts/2022-11-07-changelog-182.markdown

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,53 +9,60 @@ date: 2022-11-07 13:00:00 +0300
99

1010
* [#9650] Increase the minimal supported version of Rust to 1.56
1111

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)
12+
* Procedural macro support improvements:
13+
* [#9628] Enable the expansion of [function-like procedural macros] in the [nightly builds].
14+
This feature can be controlled via `org.rust.macros.proc.function-like` option in `Experimental Features` dialog.
15+
For more information, check the [implementation PR](https://github.com/intellij-rust/intellij-rust/pull/6564) and the corresponding [tracking issue](https://github.com/intellij-rust/intellij-rust/issues/6908).
1316

14-
* [#9526] Suggest the proper type of braces while a procedural macro call completion
17+
* [#9526] Insert brackets of the proper form (`()`, `[]` or `{}`) when completing procedural macro calls
1518

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
19+
* [#9614] Fix the expansion of [attribute] and [derive] procedural macros inside functions
1720

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])
21+
* [#9559] Fix duplicate completion for already imported [attribute] procedural macros
1922

20-
* [#8916] Fix emulating terminal in output console in some cases
23+
* [#9105] Allow 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 (by [@Kobzol])
24+
TODO: gif
2125

22-
* [#8755] Add basic parsing support for `let_chains` (by [@Kobzol])
26+
* [#9349] Decorate MSVC type names when rendering values in the debugger on Windows. Now the Rust type names containing MSVC-specific wrappers are rendered properly, e.g. `tuple$<Foo, ref$<Bar>>` is replaced by `(Foo, &Bar)`.
27+
This feature can be disabled via the `Decorate MSVC type names` checkbox in the `File | Settings | Build, Execution, Deployment | Debugger | Data Views | Rust` settings
28+
TODO: image
2329

24-
* [#7134] Add a quickfix to generate missing trait member definitions in trait implementations (by [@Sejsel])
30+
* [#7134] Add a quick-fix to generate missing trait member definitions in trait implementations (by [@Sejsel])
31+
TODO: gif
2532

26-
## Fixes
33+
* [#8755] Add basic parsing support for `let_chains` (by [@Kobzol])
2734

28-
* [#9639] Fix false-positive `trait bound is not satisfied E0277`. Can be merged with #9598 point
35+
* [#8916] Fix emulating terminal in output console in some cases
2936

30-
* [#9637] Don't fail build script evaluation without native helper binary
37+
## Fixes
3138

32-
* [#9631] fix type inference in the case of normalizable associated type projections like `<A as B>::C`
39+
* Type inference fixes:
40+
* [#9598], [#9639] Fix false-positive `trait bound is not satisfied E0277` annotations.
41+
Infer types properly when there are trait bounds on the `Self` type
42+
43+
* [#9552] Properly infer type of custom macros that shadow built-in macros
3344

34-
* [#9627] Don't show line markers for tests in dependence crates
45+
* [#7450] Properly infer array size when it refers to a constant (by [@Kobzol])
3546

36-
* [#9620] Ty: normalize associated type in `impl` item trait ref
47+
* [#9586] Infer const arguments in struct literal paths
3748

38-
* [#9614] Fix expansion of attribute and derive procedural macros inside functions
49+
* [#9620] Normalize associated type in `impl` item trait ref
3950

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>`
51+
* [#9631] Fix type inference in the case of normalizable associated type projections like `<A as B>::C`
4152

42-
* [#9586] Ty: infer const arguments in struct literal paths
53+
* [#9637] Do not cancel the [build script] evaluation when the native helper binary was not found
4354

44-
* [#9562] Fix `Create module file` quick-fix in 2022.3
55+
* [#9627] Do not show line markers for tests in dependence crates
4556

46-
* [#9559] Fix duplicate completion of attribute procedural macros when it is imported locally
57+
* [#9562] Fix `Create module file` quick-fix in 2022.3 EAPs
4758

4859
* [#9556] Temporary disable `Insert imports on paste` feature because it may be slow when copying large code fragments
4960

50-
* [#9552] Properly infer type of custom macros which shadow built-in macros
51-
52-
* [#9550] Don't resolve and complete macros after `::`
61+
* [#9550] Do not resolve and complete macros after `::`
5362

54-
* [#9469] Fix issue #9468 random false-positive `Variable is never used`
63+
* [#9469] Fix randomly appearing false-positive `Variable is never used` annotation when the variable is only used in a macro call
5564

56-
* [#9170] Fix raw identifier in `use declarations` not complete (by [@Stzx])
57-
58-
* [#7450] Improve type inference of array sizes (by [@Kobzol])
65+
* [#9170] Fix completion for raw identifiers inside `use` declarations (by [@Stzx])
5966

6067
## Internal Improvements
6168

@@ -92,3 +99,9 @@ Full set of changes can be found [here](https://github.com/intellij-rust/intelli
9299
[#9637]: https://github.com/intellij-rust/intellij-rust/pull/9637
93100
[#9639]: https://github.com/intellij-rust/intellij-rust/pull/9639
94101
[#9650]: https://github.com/intellij-rust/intellij-rust/pull/9650
102+
103+
[build script]: https://doc.rust-lang.org/cargo/reference/build-scripts.html
104+
[function-like procedural macros]: https://doc.rust-lang.org/reference/procedural-macros.html#function-like-procedural-macros
105+
[nightly plugin builds]: https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly
106+
[attribute]: https://doc.rust-lang.org/reference/procedural-macros.html#attribute-macros
107+
[derive]: https://doc.rust-lang.org/reference/procedural-macros.html#derive-macros

0 commit comments

Comments
 (0)