Mark platform extension enums as #[non_exhaustive]

OS-defined sets and error enums in the platform crates can now gain
variants without a breaking change.
This commit is contained in:
Olivier Goffart
2026-07-28 14:30:09 +00:00
parent 37d8a503e4
commit 9c7e191407
7 changed files with 13 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ pub fn reset_dead_keys() {
}
#[derive(Debug)]
#[non_exhaustive]
pub enum Error {
/// libxkbcommon is not available
XKBNotFound,