pub mod error;
pub mod reader;

pub type Result<T> = std::result::Result<T, error::Error>;

#[test]
fn it_works() {
}

mod error;
pub mod reader;

#[test]
fn it_works() {
}

--- 
+++ 
@@ -1,7 +1,5 @@
-pub mod error;
+mod error;
 pub mod reader;
-
-pub type Result<T> = std::result::Result<T, error::Error>;
 
 #[test]
 fn it_works() {
Add `Result<T> `and make `error` module public
