reference
                                
                                 reference copied to clipboard
                                
                                    reference copied to clipboard
                            
                            
                            
                        The Rust Reference
Tracking issue: https://github.com/rust-lang/rust/issues/28937 I'd like to push for stabilizing this, so writing a documentation PR to go along with it. @rustbot label +S-waiting-on-stabilization
The Patterns chapter didn't say that struct patterns can match enum values, and didn't document how refutability works for enums.
Moves the descriptions of BOM removal, CRLF normalisation, and shebang removal to the "Input format" page. So the rest of the _Lexical structure_ chapter now assumes CRLF normalisation has already...
See the commit messages for details.
a more reasonable explanation for atomic operation on static is unsafe
Fixes #1247 The description here on how this works is based purely on experiments on what the compiler does or does not accept (without unstable features), not on any inspection...
Relates #1448 I've tried to the best of my ability to reproduce the verbiage of the reference, some parts feel a bit wordy to me so any feedback would be...
The correct directive name should be `.insn`. [Here is the issue in rust repository.](https://github.com/rust-lang/rust/issues/90558)
There are multiple issues here. Some of this has changed in 1.37 via https://github.com/rust-lang/rust/pull/60793. - [x] `RAW_BYTE_STRING_LITERAL` no longer allows bare CR (new 1.37). #1459 - [x] "Raw string" and...