Rust Internals
Pre-RFC: Relaxed #[non_exhaustive] structs
language design
scottmcm
March 18, 2020, 10:26pm
15
Unfortunately yes, even though this has been coming up for 4 years:
1 Like
Allow constructing non_exhaustive structs using ..Default::default()
show post in topic
Related topics
Topic
Replies
Views
Activity
Allow FRU syntax on non_exhaustive structs
4
1443
October 29, 2020
Private fields and non-exhaustive structs and base structs
5
1179
February 21, 2023
Proto-RFC: Expanded functional record update
language design
2
2910
March 25, 2019
Allow constructing non_exhaustive structs using ..Default::default()
language design
7
6100
April 19, 2021
Rustdoc exposing private information
documentation
18
1931
February 7, 2023