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,5 +1,7 @@
-mod error;
+pub 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
