diff options
author | bors <bors@rust-lang.org> | 2022-11-25 07:41:05 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-11-25 07:41:05 +0000 |
commit | 6918009fea0ce0f37bd81664227e006fe120949b (patch) | |
tree | e0049ecc3b8de54e81e47dd9e6a169741485565d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 1e6a49a801708a8bcbe429ce03f614a7951bdb11 (diff) | |
parent | a26aef9055e116d790ea63c37118aefcf93d3d0f (diff) | |
download | rust-6918009fea0ce0f37bd81664227e006fe120949b.tar.gz |
Auto merge of #13638 - DesmondWillowbrook:hover-rest-pat-mvp, r=Veykril
feat: adds hover hint to ".." in record pattern
Hovering on the "rest" pattern in struct destructuring,
```rust
struct Baz {
a: u32,
b: u32,
c: u32,
d: u32
}
let Baz { a, b, ..$0} = Baz { a: 1, b: 2, c: 3, d: 4 };
```
shows:
```
.., c: u32, d: u32
```
Currently only works with struct patterns.

Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions