From 63bbede00f82b1fc635ff227963f468ad3c54297 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 20 Dec 2015 16:32:18 +0100 Subject: [PATCH] Add missing 'use ...' --- src/main.rs | 2 ++ src/storage/file/id.rs | 1 + src/storage/file/mod.rs | 1 + src/storage/path.rs | 1 + 4 files changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index b3d3e620..44a8c32f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,6 +24,8 @@ mod module; mod storage; mod ui; +use module::bm::BM; + fn main() { let yaml = load_yaml!("../etc/cli.yml"); let app = App::from_yaml(yaml); diff --git a/src/storage/file/id.rs b/src/storage/file/id.rs index 18605ffc..62fa2a4b 100644 --- a/src/storage/file/id.rs +++ b/src/storage/file/id.rs @@ -7,6 +7,7 @@ use std::result::Result; use regex::Regex; +use storage::file::id_type::FileIDType; use storage::file::hash::FileHash; #[derive(Clone)] diff --git a/src/storage/file/mod.rs b/src/storage/file/mod.rs index b23c2ed0..e403be61 100644 --- a/src/storage/file/mod.rs +++ b/src/storage/file/mod.rs @@ -11,6 +11,7 @@ pub mod hash; use module::Module; use storage::file::id::*; +use storage::file::id_type::FileIDType; use super::parser::{FileHeaderParser, Parser, ParserError}; use self::header::spec::*; diff --git a/src/storage/path.rs b/src/storage/path.rs index 3d775eca..484295ac 100644 --- a/src/storage/path.rs +++ b/src/storage/path.rs @@ -7,6 +7,7 @@ use glob::PatternError; use storage::file::id::FileID; use storage::file::id_type::FileIDType; use storage::file::hash::FileHash; +use module::Module; /* * A path represents either a GLOB ("/tmp/store/module-*-*.imag" for example) or a full path