|
| 1 | += Changelog #124 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:24cf957627d5ede1b395f92ff871fd7a281d49a4[] + |
| 6 | +Release: release:2022-04-11[] |
| 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:11938[] improve associated item completion in trait impls: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/1786438/162481277-2a0d2f21-dc20-4452-804d-6370766216b6.png[] |
| 18 | + |
| 19 | +== Fixes |
| 20 | + |
| 21 | +* pr:11894[] (first contribution) complete pattern args based on type name |
| 22 | +* pr:11891[] show error message when flycheck fails. |
| 23 | +* pr:11915[] attempt to heuristically resolve paths in const arguments in IDE layer. |
| 24 | +* pr:11953[] make `extract_module` more lazy. |
| 25 | +* pr:11896[] show path to be created in the `unresolved-module` fix label. |
| 26 | +* pr:11899[] skip match check on patterns of unexpected `TyKind::FnDef`. |
| 27 | +* pr:11911[] use correct text ranges in `SearchScope` for macro-emitted inline modules. |
| 28 | +* pr:11914[] fix path qualifiers not resolving generic type params when shadowed by trait. |
| 29 | +* pr:11926[] fix panics with `#[cfg]`'d-out `self` parameter. |
| 30 | +* pr:11920[] fix spurious type mismatch error for const generics with value parameters. |
| 31 | +* pr:11931[] flyimport: omit types when completing where-clause |
| 32 | +* pr:11936[] ignore `Drop` and `Destruct` bounds for now. |
| 33 | +* pr:11942[] check whether a parameter can be converted to a local. |
| 34 | +* pr:11943[] don't create ``hir::Local``s from const path patterns. |
| 35 | +* pr:11954[] parse `for<'a>` closure syntax. |
| 36 | + |
| 37 | +== Internal Improvements |
| 38 | + |
| 39 | +* pr:11904[] wrap macros in expr position in `MacroExpr` node. |
| 40 | +* pr:11905[] remove hir_expand macro recursion check. |
| 41 | +* pr:11916[] add more doc-link tests. |
| 42 | +* pr:11924[] remove `FnFlags::IS_IN_EXTERN_BLOCK`. |
| 43 | +* pr:11927[] use bitflags for `FnFlags`. |
| 44 | +* pr:11925[] add and start using `HirFormatter::write_{str,char}`. |
| 45 | +* pr:11930[] move function unsafety determination out of the `ItemTree`. |
0 commit comments