Rust Internals
Allow constructing non_exhaustive structs using ..Default::default()
language design
scottmcm
January 19, 2021, 5:29pm
2
You'll probably be interested in this thread, and upcoming RFC, from ekuber:
3 Likes
show post in topic
Related Topics
Topic
Replies
Views
Activity
Allow FRU syntax on non_exhaustive structs
4
1114
October 29, 2020
Pre-RFC: Optional FIelds
language design
32
3748
May 28, 2021
Extend field Init Shorthand
language design
7
792
December 25, 2023
Allow a trailing `..` in a struct literal, meaning `.. Default::default()`
ideas (deprecated)
6
2975
March 25, 2019
Idea: ! and non-exhaustive enums
11
1539
March 25, 2019