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:
@@ -17,6 +17,8 @@
|
||||
|
||||
#![allow(clippy::mutable_key_type)]
|
||||
|
||||
#![warn(clippy::exhaustive_enums)]
|
||||
|
||||
use std::ffi::c_void;
|
||||
use std::hash::BuildHasher;
|
||||
use std::ptr::NonNull;
|
||||
|
||||
Reference in New Issue
Block a user