]> git.lizzy.rs Git - rust.git/blob - src/test/ui/meta/expected-error-correct-rev.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[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() { }