commit | 97a237954de9192412f3f770d1f812bcf5427a3f | [log] [tgz] |
---|---|---|
author | Devin Jeanpierre <jeanpierreda@google.com> | Tue Apr 19 08:17:26 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 19 08:17:53 2022 -0700 |
tree | b86d075530b74d206c66c3c3169a2d2ff83a5909 | |
parent | 96343611cd2ffc4c108f210e07cfd80b645a2fe6 [diff] |
Complete the set of Pin<->unpinned mut reference casts for incomplete types. Supposing `Complete` is an `Unpin` type (the only time you'd run into this), and `Incomplete` is not (always true for incomplete types), then: before: * `Pin<&mut Incomplete>` -> `&mut Complete` Now: * `Pin<&mut Incomplete>` <-> `&mut Complete` * `Pin<&mut Incomplete>` -> `&Complete` PiperOrigin-RevId: 442816103