You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2022-11-07-changelog-182.markdown
+38-25Lines changed: 38 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -9,53 +9,60 @@ date: 2022-11-07 13:00:00 +0300
9
9
10
10
*[#9650] Increase the minimal supported version of Rust to 1.56
11
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)
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).
13
16
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
15
18
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
17
20
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
19
22
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
21
25
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
23
29
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
25
32
26
-
## Fixes
33
+
*[#8755] Add basic parsing support for `let_chains` (by [@Kobzol])
27
34
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
29
36
30
-
*[#9637] Don't fail build script evaluation without native helper binary
37
+
## Fixes
31
38
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
33
44
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])
35
46
36
-
*[#9620] Ty: normalize associated type in `impl` item trait ref
47
+
*[#9586] Infer const arguments in struct literal paths
37
48
38
-
*[#9614] Fix expansion of attribute and derive procedural macros inside functions
49
+
*[#9620] Normalize associated type in `impl` item trait ref
39
50
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`
41
52
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
43
54
44
-
*[#9562] Fix `Create module file` quick-fix in 2022.3
55
+
*[#9627] Do not show line markers for tests in dependence crates
45
56
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
47
58
48
59
*[#9556] Temporary disable `Insert imports on paste` feature because it may be slow when copying large code fragments
49
60
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 `::`
53
62
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
55
64
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])
59
66
60
67
## Internal Improvements
61
68
@@ -92,3 +99,9 @@ Full set of changes can be found [here](https://github.com/intellij-rust/intelli
0 commit comments