1
Fork 0

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:
Jules Bertholet 2024-03-30 12:57:54 -05:00
parent 877d36b192
commit f37a4d55ee
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC
11 changed files with 257 additions and 29 deletions

View file

@ -380,6 +380,7 @@ symbols! {
alu32,
always,
and,
and_pat_everywhere,
and_then,
anon,
anon_adt,