rust/src/test/ui/issues/issue-71584.rs
2020-05-07 10:19:37 -07:00

6 lines
114 B
Rust

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