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
1322
October 29, 2020
Private fields and non-exhaustive structs and base structs
5
939
February 21, 2023
Allow constructing non_exhaustive structs using ..Default::default()
language design
7
4697
April 19, 2021
Non_exhaustive for modules
language design
3
759
December 3, 2021
Pre-RFC: Sealed traits via `#[non_exhaustive]`
language design
6
437
June 23, 2024