rust/src/test/ui/meta-expected-error-correct-rev.rs
2018-12-25 21:08:33 -07:00

11 lines
166 B
Rust

// revisions: a
// Counterpart to `meta-expected-error-wrong-rev.rs`
#[cfg(a)]
fn foo() {
let x: u32 = 22_usize; //[a]~ ERROR mismatched types
}
fn main() { }