summary refs log tree commit diff
path: root/tests/ui/binop/binary-op-suggest-deref.fixed
blob: 1ff3599137b167ee9ba47d3affdc252ea0935c49 (plain)
1
2
3
4
5
6
7
8
// Issue #52544
// run-rustfix

fn main() {
    let i: &i64 = &1;
    if *i < 0 {}
    //~^ ERROR mismatched types [E0308]
}