summary refs log tree commit diff
path: root/src/test/ui/meta-expected-error-correct-rev.rs
blob: b06a64b15c87c6bb10b841c4b21ef9b60f94086b (plain)
1
2
3
4
5
6
7
8
9
10
// 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() { }