Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match ergonomics 2024 #3627

Merged
merged 26 commits into from
Jul 14, 2024
Merged
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
cbf6f22
Add match ergonomics 2024 RFC
Jules-Bertholet May 6, 2024
f42a677
Fix typo
Jules-Bertholet May 6, 2024
6081324
Fix another typo
Jules-Bertholet May 6, 2024
9e1bb8e
Expand motivation and examples
Jules-Bertholet May 6, 2024
70650ac
Fix typos in examples
Jules-Bertholet May 6, 2024
8e4b83c
Add link in footnote
Jules-Bertholet May 6, 2024
1d1d1f4
Expand on "no `ref mut` behind `&`"
Jules-Bertholet May 7, 2024
e222363
Add comment to new example
Jules-Bertholet May 7, 2024
9b44733
Fix typo in example
Jules-Bertholet May 7, 2024
0e1306b
Expand "no `ref mut` behind `&`" motivation
Jules-Bertholet May 8, 2024
e649309
Expand on deref patterns
Jules-Bertholet May 9, 2024
a75166c
Update "desirable property"
Jules-Bertholet May 11, 2024
ab8be9a
Remove emphasis
Jules-Bertholet May 11, 2024
5754a9c
Migration lint macro troubles
Jules-Bertholet May 12, 2024
19e0c7c
Fix example
Jules-Bertholet May 14, 2024
099b71f
No more implicit `mut ref mut`
Jules-Bertholet May 15, 2024
07b35d8
Add more examples to "no `ref mut` behind `&`" rationale
Jules-Bertholet May 15, 2024
3ff0267
Fix typo
Jules-Bertholet May 16, 2024
b078485
Fix typo
Jules-Bertholet May 17, 2024
c2bdf38
Fairer examples
Jules-Bertholet May 17, 2024
04501bc
Fix fairer example
Jules-Bertholet May 17, 2024
d623f9c
`&` matches `&mut` on all editions
Jules-Bertholet Jul 3, 2024
27717e6
Incorporate TC's additions
Jules-Bertholet Jul 3, 2024
97bf386
`&` constrains inference
Jules-Bertholet Jul 4, 2024
88267c9
Add the numbered match ergonomics rules adopted by lang
traviscross Jul 4, 2024
28b91fb
Prepare RFC 3627 to be merged
traviscross Jul 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading