diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-03-30 12:57:54 -0500 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-03-30 12:57:54 -0500 |
| commit | f37a4d55ee6a15a4d240de07a4a33766973866c7 (patch) | |
| tree | 44fe35d29d43dccc42a5972e571f313436f6924b /compiler/rustc_span/src | |
| parent | 877d36b1928b5a4f7d193517b48290ecbe404d71 (diff) | |
| download | rust-f37a4d55ee6a15a4d240de07a4a33766973866c7.tar.gz rust-f37a4d55ee6a15a4d240de07a4a33766973866c7.zip | |
Implement "&<pat> everywhere"
The original proposal allows reference patterns with "compatible" mutability, however it's not clear what that means so for now we require an exact match. I don't know the type system code well, so if something seems to not make sense it's probably because I made a mistake
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 998b1a5c7ea..1a20ed1caa3 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -380,6 +380,7 @@ symbols! { alu32, always, and, + and_pat_everywhere, and_then, anon, anon_adt, |
