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
3
1556
July 31, 2020
Private fields and non-exhaustive structs and base structs
4
1311
November 23, 2022
Way to make a configuration struct stable across versions?
language design
6
485
April 23, 2026
Proto-RFC: Expanded functional record update
language design
1
2966
September 17, 2017
Allow constructing non_exhaustive structs using ..Default::default()
language design
6
6639
January 19, 2021