Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on v0 symbol mangling. #97571

Merged
merged 11 commits into from
Jul 28, 2023
Prev Previous commit
Next Next commit
Clarify missing tick.
  • Loading branch information
ehuss committed Jun 5, 2023
commit 769f938aea2c0d270cafc8f66c283d98461f701a
2 changes: 1 addition & 1 deletion src/doc/rustc/src/symbol-mangling/v0.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 548,7 @@ Indices starting from 1 refer (as de Bruijn indices) to a higher-ranked lifetime
> Index 0 should be displayed as `'_`.
>
> Lifetimes starting from 1 may be translated to single lowercase letters starting with `'a`.
> Indices over 25 may consider printing the numeric lifetime index as in `_123`.
> Indices over 25 may consider printing the numeric lifetime index as in `'_123`.
>
> Index 0 should not be displayed for lifetimes in a *[ref-type]*, *[mut-ref-type]*, or *[dyn-trait-type]*.
>
Expand Down