mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
8 lines
178 B
Rust
8 lines
178 B
Rust
//@ ignore-windows FIXME: We get an extra E0283 on Windows
|
|
fn main() {
|
|
let n: u32 = 1;
|
|
let mut d: u64 = 2;
|
|
d = d % n.into();
|
|
//~^ ERROR type annotations needed
|
|
}
|