]> git.lizzy.rs Git - rust.git/blob - src/test/ui/meta-expected-error-correct-rev.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / meta-expected-error-correct-rev.rs
1 // revisions: a
2
3 // Counterpart to `meta-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() { }