diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-01-14 09:28:41 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-01-28 15:35:35 -0800 |
commit | 914cda7cc984c79165d5038e07132fdb94780cee (patch) | |
tree | 8ef7939c274416cad52cdb94511f4e1a6caf9aea /src/lib.rs | |
parent | 899eff72f92cbc300fbd7779957907a39aa0e42b (diff) | |
download | nix-914cda7cc984c79165d5038e07132fdb94780cee.zip |
Deny unused qualifications
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ #![allow(dead_code)] #![cfg_attr(test, deny(warnings))] #![recursion_limit = "500"] +#![deny(unused_qualifications)] extern crate bytes; #[macro_use] @@ -94,7 +95,7 @@ pub type Result<T> = result::Result<T, Error>; /// implementing other common traits. #[derive(Clone, Copy, Debug, PartialEq)] pub enum Error { - Sys(errno::Errno), + Sys(Errno), InvalidPath, /// The operation involved a conversion to Rust's native String type, which failed because the /// string did not contain all valid UTF-8. |