diff --git a/src/error.rs b/src/error.rs index 79acdd8b3..8484456a2 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,6 +5,11 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// Clippy complains about not using #[non_exhaustive] attribute but the +// attribute is not available in 1.37.0, which is MSRV of this library. +#![allow(clippy::manual_non_exhaustive)] + use super::Dimension; use std::error::Error; use std::fmt;