reference
reference copied to clipboard
The Rust Reference
r? @ehuss
As part of the stabilisation work: https://github.com/rust-lang/rust/issues/74727 this PR adds some documentation for the instruction set attribute. I've popped this in the codegen attributes as that seemed rather self-explanatory. It's...
There really isn't a *ton* to add here. Almost all of the syntax related to GATs falls out from existing syntax.
Tracking issue: https://github.com/rust-lang/rust/issues/93333
In `type-coercions.md`, the following is really not clear: ``` * TyCtor(`T`) to TyCtor(`U`), where TyCtor(`T`) is one of - `&T` - `&mut T` - `*const T` - `*mut T` -...
cc https://github.com/rust-lang/rust/pull/100747/files#r962488178
cc https://github.com/rust-lang/rust/issues/65991
In https://doc.rust-lang.org/reference/expressions/method-call-expr.html, we find: > Then, for each candidate type `T`, search for a visible method with a receiver of that type in the following places: > * `T`'s inherent...
[STRING_LITERAL](https://doc.rust-lang.org/reference/tokens.html#string-literals) definition says:  Where [_IsolatedCR_](https://doc.rust-lang.org/reference/comments.html#comments) is:  And [ASCII_ESCAPE](https://doc.rust-lang.org/reference/tokens.html#ascii-escapes) is:  But look, there is no compile time error: ![Screenshot...