rust-lang / rust-lang/reference

[undefined.validity.union] dyn Trait raw pointer is subject to debate.. where's the debate?

Open Beginner friendly
#2,008 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-undefined-behavior
Dominant language
Rust
Stars
1.6k
Forks
607
PR merge metrics
PR metrics pending

Description

under undefined.validity.union:

dyn Trait metadata must be a pointer to a compiler-generated vtable for Trait
(For raw pointers, this requirement remains a subject of some debate.)

which debate? where? how? I'd like to read more.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the Rust Reference for the undefined.validity.union section and read the surrounding discussion about raw-pointer metadata. Trace the referenced debate through the issue history or linked sources, then update the documentation with a useful pointer and concise context. Done means readers can find and understand the debate being referenced.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.