main.rs:28:37: 28:56 error: the trait `core::ops::Div<_>` is not implemented for the type `u64` [E0277]
main.rs:28 println!("Time elapsed: {} ms", (t2 - t1)/1000000.0);
^~~~~~~~~~~~~~~~~~~
There is missing the trait I suppose but don't know how to find it.
Tried already without success:
You only get to write an impl for something if you defined either the type or the trait. In this case, you don't control either, so there's nothing you can do.
Rust isn't big on implicit conversions, or operations between different types that would involve implicit conversions.