2018-12-16 21:21:47 -06:00
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
2016-02-22 16:33:38 -06:00
|
|
|
mod foo { pub struct bar; }
|
2015-01-01 18:13:57 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let bar = 5;
|
2017-10-05 14:54:34 -05:00
|
|
|
//~^ ERROR mismatched types
|
2015-01-01 18:13:57 -06:00
|
|
|
use foo::bar;
|
|
|
|
}
|