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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
143 B
Rust
Raw Normal View History

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