9 lines
125 B
Rust
9 lines
125 B
Rust
// Issue #52544
|
|
// run-rustfix
|
|
|
|
fn main() {
|
|
let i: &i64 = &1;
|
|
if *i < 0 {}
|
|
//~^ ERROR mismatched types [E0308]
|
|
}
|