]> git.lizzy.rs Git - rust.git/blob - src/test/ui/meta/expected-error-correct-rev.rs
Print correct base for too-large literals
[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() { }