Skip to content

Add goal for expansion of the Rust Reference #336

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

joshtriplett
Copy link
Member

@joshtriplett joshtriplett commented Jul 16, 2025

As discussed in T-spec meetings.

Rendered

@JoelMarcey
Copy link
Contributor

Glad to see this goal proposed @joshtriplett . Thanks for putting it together.

@joshtriplett joshtriplett force-pushed the reference-expansion branch from bba79d8 to 420ae81 Compare July 16, 2025 15:03
Co-authored-by: Travis Cross <[email protected]>
…ce processes


Based on joint iteration by @traviscross and @joshtriplett. The new text addresses all the same concerns as the old text (notably making sure that we don't let the perfect become a blocker on the good), but lays out much more detailed processes, and avoids potentially incorrect or misleading implications about the normativity of the reference.

Co-authored-by: Travis Cross <[email protected]>
Copy link
Contributor

@traviscross traviscross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some metadata items that might need to be updated here before merging, but this otherwise looks good to me from a spec and lang-docs point of view.

| Task owners | <!-- TASK OWNERS --> |
| Status | Proposed |
| Zulip channel | [#t-spec][channel] |
| Tracking issue | [rust-lang/rust-project-goals#NNN] |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Tracking issue | [rust-lang/rust-project-goals#NNN] |
| Tracking issue | |


## Summary

The Rust Reference (https://doc.rust-lang.org/nightly/reference/) describes and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mdbook won't linkify these otherwise

Suggested change
The Rust Reference (https://doc.rust-lang.org/nightly/reference/) describes and
The Rust Reference (<https://doc.rust-lang.org/nightly/reference/>) describes and

- The behavior of the borrow checker. This is extensive work that has been the
subject of PhD theses. There have been multiple attempts to document and
bound the behavior of the borrow checker, the latest of which is Tree Borrows
( https://www.ralfj.de/blog/2023/06/02/tree-borrows.html ) by Ralf Jung, a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
( https://www.ralfj.de/blog/2023/06/02/tree-borrows.html ) by Ralf Jung, a
( <https://www.ralfj.de/blog/2023/06/02/tree-borrows.html> ) by Ralf Jung, a

in the future.
- The operational semantics of the Rust language, which includes the work
formerly described as "unsafe code guidelines". This has been the focus of
the opsem team (https://github.com/rust-lang/opsem-team).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
the opsem team (https://github.com/rust-lang/opsem-team).
the opsem team (<https://github.com/rust-lang/opsem-team>).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants