Skip to content

Define an unsized tail#2287

Open
traviscross wants to merge 2 commits into
masterfrom
TC/define-unsized-tail
Open

Define an unsized tail#2287
traviscross wants to merge 2 commits into
masterfrom
TC/define-unsized-tail

Conversation

@traviscross

Copy link
Copy Markdown
Contributor

We refer to the unsized tail of a type, but we hadn't defined it. Let's do that and link to the definition.


I'm breaking this out from #2282 so that we can merge the prerequisites before considering the new lang guarantees.

This is stacked on #2286 and that should be merged first.

cc @ehuss @RalfJung @Mark-Simulacrum

The pointer-to-pointer cast rules and the wide-pointer validity rule
both speak of the *metadata* of a pointer, but we hadn't explicitly
defined the term (even though we had defined the contents of that
metadata).  Let's do that and link to it.
We refer to the unsized tail of a type, but we hadn't defined it.
Let's do that and link to the definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants