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
*[#10692] Provide `fn` keyword completion in the type context
14
+
*Completion improvements:
15
15
16
-
*[#10691] Provide completion for `fn main() { ... }`
16
+
*[#10689] Complete chained iterator methods
17
17
18
-
*[#10689] Complete chained iterator methods
18
+
{% include gif-img.html path="/assets/posts/changelog-199/chained_iterators" w="600px" %}
19
19
20
-
TODO gif
20
+
*[#10647] Complete Cargo [instructions](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script) in build scripts
21
21
22
-
*[#10684] Improve the error message when trying to use a prefix/postfix increment like `i++`
22
+
{% include gif-img.html path="/assets/posts/changelog-199/cargo_instructions" w="600px" %}
23
23
24
-
*[#10681] Improve the error message when trying to inherit one struct from another -
25
-
a helpful reminder that Rust doesn't support inheritance like `struct Foo: Bar {}`
24
+
*[#10651] Show the value of the constant in the completion list
26
25
27
-
*[#10664] Added new inspection for when entry point is async E0752
26
+
*[#10692] Provide `fn` keyword completion in the type context
28
27
29
-
*[#10661] Improve the error message when incorrectly using `impl` or `dyn` in type parameters bounds
28
+
*[#10691] Provide completion for `fn main() { ... }`
30
29
31
-
*[#10651] Show the value of the constant in the completion list
30
+
*Macro expansion improvements:
32
31
33
-
*[#10650] Add `iter` alias for `for` live template
32
+
*[#10678] Increase proc macro expansion timeout to 20 seconds
34
33
35
-
*[#10647] Complete Cargo [instructions](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script) in build scripts
34
+
*[#10678] Improve error message in the case of too large macro expansion
36
35
37
-
*[#10592] Add better support for path statements inspection and enable it by default
36
+
*[#10675] Improve error message for a non-expanded macro inside an impl block
38
37
39
-
*[#10436] - The "trait objects without dyn keyword" inspection raises an error in the 2021 edition, and a warning on 2018 (by [@DeoTimeTheGithubUser])
38
+
*Improved error messages and new quick fixes:
40
39
41
-
## Fixes
40
+
*[#10684] When trying to use a prefix/postfix increment like `i++`
42
41
43
-
*[#10679] Show completion auto-popup when literal suffix is typed
42
+
*[#10661] When incorrectly using `impl` or `dyn` in type parameters bounds
44
43
45
-
*[#10688] match negative numeric literals with `$l:literal` macro fragment spec
44
+
*[#10681] When trying to inherit one struct from another - a helpful reminder that Rust doesn't support inheritance like `struct Foo: Bar {}`
46
45
47
-
*[#10682] Complete `macro` live template only in item context
46
+
*[#10664] Add a new inspection for when the entry point of the program is marked as `async` ([E0752](https://doc.rust-lang.org/error_codes/E0752.html))
48
47
49
-
*[#10680] COMP: Only complete float suffixes for literals in scientific notation
48
+
*[#10592] Add better support for the [`Path statements`](https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#path-statements) inspection and enable it by default
50
49
51
-
*[#10678] Increase proc macro expansion timeout to 20 seconds
50
+
*[#10650] Add `iter` alias for `for`[live template](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-code-generation.html#live-templates)
52
51
53
-
*[#10678] Improve error message in the case of too large macro expansion
52
+
*[#10436] - Now the `Trait objects must include the dyn keyword` inspection raises an error in the 2021 edition, and a warning on 2018 (by [@DeoTimeTheGithubUser])
54
53
55
-
*[#10676] Fix name resolution inside a nested block under cfg attribute
54
+
## Fixes
56
55
57
-
*[#10675] Improve error message for a non-expanded macro inside an impl block
56
+
*[#10671] Fix bugs related to grammar error detection in Rust code using new API from [Grazie](https://plugins.jetbrains.com/plugin/12175-grazie-lite) plugin. Note, grammar error detection is disabled by default for now. You can enable it for Rust in `Scope` tab of `Preferences | Editor | Natural Languages | Grammar and Style` settings
58
57
59
-
*[#10674] Fix dependency keys completion when another key exists before
58
+
*Completion fixes:
60
59
61
-
*[#10671] Fix bugs related to grammar error detection in Rust code using new API from [Grazie](https://plugins.jetbrains.com/plugin/12175-grazie-lite) plugin. Note, grammar error detection is disabled by default for now. You can enable it for Rust in `Scope` tab of `Preferences | Editor | Natural Languages | Grammar and Style` settings
60
+
*[#10679] Show completion auto-popup when literal suffix is typed
61
+
62
+
*[#10663] Don't add new line by smart enter action after `;` completion
62
63
63
-
*[#10669] Normalize parameter values after substitution in struct pattern matching
64
+
*[#10682] Complete `macro` live template only in item context
64
65
65
-
*[#10663] Don't add new line by smart enter action after `;` completion
66
+
*[#10680] Only complete float suffixes for literals in scientific notation
67
+
68
+
*[#10674] Fix dependency keys completion when another key exists before
66
69
67
70
*[#10653] Use [E0403](https://doc.rust-lang.org/error_codes/E0403.html) instead of deprecated [E0263](https://doc.rust-lang.org/error_codes/E0263.html)
68
71
72
+
*[#10676] Fix name resolution inside a nested block under a `cfg` attribute
73
+
69
74
*[#10645] Fix live templates suggestion in loop labels and other positions
70
75
71
-
*[#10428] - The `add unsafe to function` quickfix is no longer raised when an unsafe call is made inside a test function, doctest main function, or in a implemented function where the parent trait function is not marked as unsafe. Suggests `Surround with unsafe block` instead.
72
-
- Fixes #10312
73
-
- Fixes #10183 (by [@DeoTimeTheGithubUser])
76
+
*[#10669] Fix type inference in case of struct pattern matching
77
+
78
+
*[#10688] Match negative numeric literals with `$l:literal` macro fragment spec
79
+
80
+
*[#10428] Suggest `Surround with unsafe block` quick fix instead of `Add unsafe to function` for an unsafe call in some cases (e.g. inside a test function, main function, etc.) (by [@DeoTimeTheGithubUser])
74
81
75
82
## Internal Improvements
76
83
77
-
*[#10670] Implement initial support for gdb debugging outside of CLion. Right now it's disabled by default and works only on Linux
84
+
*[#10670] Implement initial support for GDB debugging outside of CLion. Right now it's disabled by default and works only on Linux
78
85
79
86
*[#10668], [#10686] Extract hardcoded strings into a message bundle, allowing its future internationalization
0 commit comments