Rust Internals
Random Musings: types in patterns
language design
gbutler
April 16, 2018, 10:42am
9
OH! Yeah, that is a nasty surprise. I would not have expected that. Yikes!
show post in topic
Related topics
Topic
Replies
Views
Activity
Idea: Change type ascription syntax from `:` to `type` keyword
language design
21
3319
March 25, 2019
[Idea] "fully typed patterns" and function parameter type inference for those
language design
18
662
October 29, 2024
Idea: puns in simple patterns
language design
30
2698
October 11, 2019
Pre-RFC: `=` for struct construction
54
3571
March 25, 2019
Rest patterns (`Foo { .. }`) should match non-struct types
language design
18
1074
December 31, 2024