]> git.lizzy.rs Git - rust.git/blob - src/test/ui/meta/expected-error-correct-rev.rs
Auto merge of #88652 - AGSaidi:linux-aarch64-should-be-actually-monotonic, r=yaahc
[rust.git] / src / test / ui / meta / expected-error-correct-rev.rs
1 // revisions: a
2
3 // Counterpart to `expected-error-wrong-rev.rs`
4
5 #[cfg(a)]
6 fn foo() {
7     let x: u32 = 22_usize; //[a]~ ERROR mismatched types
8 }
9
10 fn main() { }