rust/tests/ui/inference/issue-71584.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
119 B
Rust
Raw Normal View History

fn main() {
let n: u32 = 1;
let mut d: u64 = 2;
d = d % n.into();
//~^ ERROR type annotations needed
}