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

Draft pending stabilization of 2024.

S-waiting-on-stabilization
A-edition-2024

https://doc.rust-lang.org/reference/type-coercions.html#unsized-coercions > Additionally, a type `Foo` can implement `CoerceUnsized` when `T` implements `Unsize` or `CoerceUnsized`. This allows it to provide a unsized coercion to `Foo`. However, the [document](https://doc.rust-lang.org/std/ops/trait.CoerceUnsized.html) of `CoerceUnsized`...

I can't find any mention of exhaustivity checking on the [Match expressions](https://doc.rust-lang.org/nightly/reference/expressions/match-expr.html) page.

A-patterns

The following program is rejected: ````rust mod sub { fn prv() {} pub use prv as renamed; } ```` The restrictions which cause this rejection were introduced in [rfc136]. I...

A-visibility

The following program is rejected (though the `sub` module alone would be accepted with a warning): ````rust mod sub { struct Priv; pub fn get_value() -> Priv { todo!() }...

A-visibility

The section [Types](https://doc.rust-lang.org/reference/types.html) lists most kinds of types that can exist in a Rust program, but it does not list the types introduced by `async {}` and `async fn`. These...

A-async

This adds identifiers to the attributes.md file and its subchapters, being: * attributes/codegen.md * attributes/debugging.md * attributes/derive.md * attributes/diagnostics.md * attributes/limits.md * attributes/testing.md * attributes/type_system.md

S-waiting-on-author
T-spec

I noticed that the section on [wildcard patterns](https://doc.rust-lang.org/reference/patterns.html#wildcard-pattern) says that: > Unlike identifier patterns, it does not copy, move or borrow the value it matches. However for a function parameter,...

A-patterns

This issue is part of async-await stabilization (see https://github.com/rust-lang/rust/issues/62149). We need to document the following things: - [x] grammar for `async fn` and describe their effects - [x] grammar for...

A-async

This rewrites the `abi` chapter, and adds [call compatibility](https://doc.rust-lang.org/core/primitive.fn.html#abi-compatibility) to the chapter.

A-abi
S-waiting-on-review