|
| 1 | += Changelog #80 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:13da28cc2bc1b59f7af817eca36927a71edb023c[] + |
| 6 | +Release: release:2021-06-07[] |
| 7 | + |
| 8 | +== Sponsors |
| 9 | + |
| 10 | +**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or |
| 11 | +https://github.com/sponsors/rust-analyzer[GitHub Sponsors]. |
| 12 | + |
| 13 | +== New Features |
| 14 | + |
| 15 | +* pr:9039[] complete fields and methods with `self.` prefixed when inside methods: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/3757771/119984385-a0111700-bfc1-11eb-9dbf-52fdaa4d72b5.gif[] |
| 18 | +* pr:9136[] add function references hover action (disabled by default): |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/3757771/120811670-8422ed80-c54c-11eb-87f5-dd65c1f8ef7d.png[] |
| 21 | +* pr:9138[] implement hover for lints: |
| 22 | ++ |
| 23 | +image::https://user-images.githubusercontent.com/3757771/120847184-6ae16780-c573-11eb-8a55-d31e2736a234.gif[] |
| 24 | +* pr:9140[] render documentation for derive completion: |
| 25 | ++ |
| 26 | +image::https://user-images.githubusercontent.com/3757771/120847308-9c5a3300-c573-11eb-958d-e0f22f4757ed.gif[] |
| 27 | +* pr:9149[] support "Go to definition" for `include!` arguments: |
| 28 | ++ |
| 29 | +image::https://user-images.githubusercontent.com/3757771/120891155-3fa85800-c607-11eb-9b20-7ac330dceb4b.gif[] |
| 30 | +* pr:9128[] expand procedural attribute macros (disabled by default). |
| 31 | +* pr:9097[] implement per-edition preludes. |
| 32 | +* pr:9104[] implement `#[rustc_skip_array_during_method_dispatch]`. |
| 33 | +* pr:9060[] diagnose unimplemented built-in macros. |
| 34 | + |
| 35 | + |
| 36 | +== Fixes |
| 37 | + |
| 38 | +* pr:9123[] (first contribution) add Gentoo installation instructions. |
| 39 | +* pr:9091[] fix opening single files. |
| 40 | +* pr:8717[], pr:9105[] update match checking algorithm. |
| 41 | +* pr:9090[] fix type inference with arbitrary self types. |
| 42 | +* pr:9130[] make prefix/suffix parameter inlay hint hiding heuristic is more strict. |
| 43 | +* pr:9079[] don't take the parent kind of trailing attributes in attribute completion. |
| 44 | +* pr:8952[] support doctest runnables in `impl` blocks. |
| 45 | +* pr:9084[] avoid panics in the name case diagnostic. |
| 46 | +* pr:9087[] fix shell injection in task spawning. |
| 47 | +* pr:9111[] make "Extract type alias" place extracted alias outside `impl` block. |
| 48 | +* pr:9119[] some minor "Extract type alias" fixes. |
| 49 | +* pr:9108[] don't show the "Extract into variable" assist for unit expressions. |
| 50 | +* pr:9112[] fix some bugs in the "Extract struct from enum variant" assist. |
| 51 | +* pr:9114[] fix bind patterns always being treated as ref taking patterns. |
| 52 | +* pr:9117[] allow "Expand macro" to be invoked anywhere inside a macro call. |
| 53 | +* pr:9137[] fix incorrect unresolved import error when using derive helpers. |
| 54 | +* pr:9141[] don't inline mutable locals in the "Inline local variable" assist. |
| 55 | + |
| 56 | + |
| 57 | +== Internal Improvements |
| 58 | + |
| 59 | +* pr:8866[] update `salsa` to pick upstream cancellation support. |
| 60 | +* pr:9077[] use `Name` instead of `String` in the completion rendering API. |
| 61 | +* pr:9127[] make variant fields inherit the enum's visibility in the item tree. |
| 62 | +* pr:9155[] replace attribute with equivalent whitespace. |
| 63 | +* pr:9025[] display unknown types in `analysis-stats`. |
| 64 | +* pr:9145[] enable attribute macro expansion in `analysis-stats`. |
| 65 | +* pr:9147[] enable proc macros and build scripts by default in `analysis-stats`. |
| 66 | +* pr:9083[] simplify `proc_macro_srv` tests. |
| 67 | +* pr:9110[] simplify completion code. |
| 68 | +* pr:9124[] apply a few `clippy` suggestions. |
| 69 | +* pr:9135[] reorganize `inlay_hints` tests. |
0 commit comments