]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1362.rs
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-1362.rs
1 // Regression test for issue #1362 - without that fix the span will be bogus
2 // no-reformat
3 fn main() {
4   let x: u32 = 20i32; //~ ERROR mismatched types
5 }
6 // NOTE: Do not add any extra lines as the line number the error is
7 // on is significant; an error later in the source file might not
8 // trigger the bug.