rust/tests/ui/blind/blind-item-block-middle.rs

10 lines
143 B
Rust
Raw Normal View History

#![allow(non_camel_case_types)]
2016-02-22 22:33:38 +00:00
mod foo { pub struct bar; }
fn main() {
let bar = 5;
//~^ ERROR mismatched types
use foo::bar;
}