From 5d1d8193d94d616785e6d709a7117012a0935b8b Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 11 Dec 2018 20:28:59 -0800 Subject: Enable more lints Given that development is picking up speed again we should accept all the help we get from the compiler to catch issues as early as possible. To that end, this change enables more lints for the program. As "usual", lints that are suspected to potentially change in future versions of Rust are reported as warnings and not errors. --- nitrocli/src/pinentry.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'nitrocli/src/pinentry.rs') diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index b4695ec..1f1b02a 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -29,6 +29,7 @@ use crate::error::Error; #[derive(Clone, Copy, Debug, PartialEq)] pub enum PinType { /// The admin PIN. + #[allow(unused)] Admin, /// The user PIN. User, -- cgit v1.2.1