|
| 1 | += Changelog #161 |
| 2 | +:sectanchors: |
| 3 | +:experimental: |
| 4 | +:page-layout: post |
| 5 | + |
| 6 | +Commit: commit:74ae2dd3039cd80fc77e4ed0c0a206be6660dd9a[] + |
| 7 | +Release: release:2022-12-26[] |
| 8 | + |
| 9 | +== New Features |
| 10 | + |
| 11 | +* pr:13699[] implement location links for type inlay hints (disabled until Code 1.76 release because of a bug): |
| 12 | ++ |
| 13 | +image::https://user-images.githubusercontent.com/45197576/204583381-4f69201a-a222-477e-8c01-8e739d0cbe80.gif["Screen recording showing clicking on inlay hint parts"] |
| 14 | +* pr:13817[] add option to hide adjustment hints outside of `unsafe` blocks and functions: |
| 15 | ++ |
| 16 | +image::https://user-images.githubusercontent.com/38225716/208986376-d607de62-8290-4e16-b7fe-15b762dc5f60.png["Screenshot showing an <unsize>&raw mut * on the RHS of let ptr: *mut \[u8\] = &mut \[\]"] |
| 17 | + |
| 18 | +== Fixes |
| 19 | + |
| 20 | +* pr:13805[] (first contribution) complete enum variants without parens when snippets are disabled. |
| 21 | +* pr:13794[] fix "parser seems stuck" panics when parsing colossal files. |
| 22 | +* pr:13795[] use the correct edition when formatting code in path dependencies. |
| 23 | +* pr:13800[] don't match let exprs and inline consts in `expr` MBE fragments. |
| 24 | +* pr:13820[] fix binding mode hints always adding parentheses to or-patterns. |
| 25 | +* pr:13831[] don't autofill associated type trait bounds when generating an implementation. |
| 26 | +* pr:13764[] correctly check for redundant parentheses in the `remove_parentheses` assist. |
| 27 | +* pr:13806[] skip hints for identity (`T` -> `T`) adjustments. |
| 28 | +* pr:13814[], pr:13818[] calculate the `TargetDataLayout` correctly for the selected target. |
| 29 | +* pr:13840[] handle lifetime variables in `CallableSig` query. |
| 30 | + |
| 31 | +== Internal Improvements |
| 32 | + |
| 33 | +* pr:13828[], pr:13829[], pr:13835[] (first contributions) fix `redundant_clone`, `explicit_auto_deref`, `uninlined_format_args` clippy warnings. |
| 34 | +* pr:13830[] use a default derives and `strip_prefix`. |
| 35 | +* pr:13771[] add `xtask` command for publishing release notes on GitHub Releases. |
| 36 | +* pr:13804[] split inlay hints into modules by type. |
| 37 | +* pr:13822[] thread `FamousDefs` through the inlay hints. |
0 commit comments