title: field of struct is private when importing module
body: <p>I am trying to split my project into multiple files but I am having problems importing them into my <code>main.rs</code> as it says the Column's fields are private but I have declared the struct as public. </p>
  
  <p>src/column.rs</p>
  
  <pre><code>pub struct Column {
      name: String,
      vec: Vec&lt;i32&gt;,
  }
  </code></pre>
  
  <p>src/main.rs</p>
  
  <pre><code>pub mod column;
  
  fn main() {
      let col = column::Column{name:"a".to_string(), vec:vec![1;10]};
      println!("Hello, world!");
  }
  </code></pre>
  
  <p>cargo build </p>
  
  <pre><code>src/main.rs:4:15: 4:75 error: field `name` of struct `column::Column` is private
  src/main.rs:4     let col = column::Column{name:"a".to_string(), vec:vec![1;10]};
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/main.rs:4:15: 4:75 error: field `vec` of struct `column::Column` is private
  src/main.rs:4     let col = column::Column{name:"a".to_string(), vec:vec![1;10]};
  </code></pre>