diff --git a/imgui/src/input/mouse.rs b/imgui/src/input/mouse.rs index e194ee6..5d6e949 100644 --- a/imgui/src/input/mouse.rs +++ b/imgui/src/input/mouse.rs @@ -36,8 +36,11 @@ fn test_mouse_button_variants() { /// Mouse cursor type identifier #[repr(i32)] #[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)] -#[allow(unknown_lints)] // Fixme: remove once `clippy::upper_case_acronyms` is stable -#[allow(clippy::upper_case_acronyms)] +// TODO: this should just be `#[allow(clippy::upper_case_acronyms)]`, but doing +// so in a way that works before it stabilizes is a pain (in part because +// `unknown_clippy_lints` was renamed to unknown_lints). Oh well, it's over a +// small amount of code. +#[allow(warnings)] pub enum MouseCursor { Arrow = sys::ImGuiMouseCursor_Arrow, /// Automatically used when hovering over text inputs, etc.