mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
Warn on exhaustive exported enums
Enable clippy::exhaustive_enums in every crate so new exported enums are either #[non_exhaustive] or explicitly allowed as a closed set.
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
//! event loop (as shown above).
|
||||
#![cfg(target_os = "android")]
|
||||
|
||||
#![warn(clippy::exhaustive_enums)]
|
||||
|
||||
mod event_loop;
|
||||
mod keycodes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user