reference icon indicating copy to clipboard operation
reference copied to clipboard

The Rust Reference

Results 338 reference issues
Sort by recently updated
recently updated
newest added

I am reading the Rust reference. In [section 6.4](https://doc.rust-lang.org/stable/reference/items/functions.html) it notes a function may be augmented with an `extern "something"` prefix to make it use the "something" function ABI. It...

A-abi

From https://doc.rust-lang.org/reference/items/structs.html: > A unit-like struct is a struct without any fields, defined by leaving off the list of fields entirely. Such a struct implicitly defines a constant of its...

There are a number of places that talk about a "future" with a lowercase `f`, but what a "future" is is never defined. It can maybe be inferred that it...

This describes the behavior implemented in https://github.com/rust-lang/rust/pull/63376. cc @Centril

S-waiting-on-author
S-blocked

The inert/active attribute description is not be correct. The following comment needs to be incorporated: https://github.com/rust-lang-nursery/reference/pull/537#pullrequestreview-218090880 However, I think the inert/active distinction is subtle and should have more clarification. It...

A-attributes

Fixes #882 There are two initial commits. The first one does some general cleanup while the second actually defines padding. When reviewing, review each commit in order for better understanding....

New Content
S-waiting-on-author
A-type-layout

The lexical specification needs some cleanup and organization. Some things I can think of: - [ ] There should be an overall introduction and overview of the lexical structure. -...

A-grammar
A-lexer

There should be a section in the reference which document how the compiler-generated drop glue behaves. It should answer questions like this one: https://github.com/rust-lang/unsafe-code-guidelines/issues/225.

I'm proposing adding a new appendix that describes the history of the reference and why it has multiple layers of quality depending on what you are looking at. We could...

There are various attributes that are allowed in places where they have no effect. For example, you can use `#[inline]` on fields of a struct. For the ones the lang...