See Pre-RFC: Relaxed #[non_exhaustive] structs for the existing thread on this topic.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Pre-RFC: Relaxed #[non_exhaustive] structs | 17 | 3094 | November 1, 2020 | |
Non_exhaustive for modules | 3 | 761 | December 3, 2021 | |
Allow constructing non_exhaustive structs using ..Default::default() | 7 | 4809 | April 19, 2021 | |
Pre-RFC: Sealed traits via `#[non_exhaustive]` | 6 | 442 | June 23, 2024 | |
Pre-Pre-RFC: Allow exhaustive matching on `#[non_exhaustive]` types from pinned dependencies
|
14 | 1089 | February 14, 2022 |