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
1480
October 29, 2020
Private fields and non-exhaustive structs and base structs
5
1233
February 21, 2023
Way to make a configuration struct stable across versions?
language design
6
352
April 23, 2026
Proto-RFC: Expanded functional record update
language design
2
2922
March 25, 2019
Allow constructing non_exhaustive structs using ..Default::default()
language design
7
6370
April 19, 2021