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
This commit is contained in:
parent
877d36b192
commit
f37a4d55ee
11 changed files with 257 additions and 29 deletions
|
@ -380,6 +380,7 @@ symbols! {
|
|||
alu32,
|
||||
always,
|
||||
and,
|
||||
and_pat_everywhere,
|
||||
and_then,
|
||||
anon,
|
||||
anon_adt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue