From 0b18dd976269b09d3d44208eaab0000ddfebaf93 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Mon, 10 Dec 2018 22:11:41 -0800 Subject: Enable rust_2018_compatibility lint In preparation for the switch to using Rust 2018, this change enables the rust_2018_compatibility lint. Along with that enablement we fix the warnings emitted by it, which evolve around the module system changes Rust has gone through and that require us to prefix initial uses of crate local modules with "crate". --- nitrocli/src/pinentry.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nitrocli/src/pinentry.rs') diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index 7bf1db9..b4695ec 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -17,9 +17,10 @@ // * along with this program. If not, see . * // ************************************************************************* -use error::Error; use std::process; +use crate::error::Error; + /// PIN type requested from pinentry. /// -- cgit v1.2.1