mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-03 01:08:18 +00:00
8 lines
172 B
Rust
8 lines
172 B
Rust
// ignore-windows different list of satisfying impls
|
|
fn main() {
|
|
let n: u32 = 1;
|
|
let mut d: u64 = 2;
|
|
d = d % n.into();
|
|
//~^ ERROR type annotations needed
|
|
}
|