rust-render/target/debug/build/num-traits-5cd999f37348937b/stderr

10 lines
380 B
Plaintext
Raw Normal View History

2020-11-27 00:02:03 -05:00
error[E0599]: no method named `to_int_unchecked` found for type `f64` in the current scope
--> <anon>:1:40
|
1 | pub fn probe() { let _ = unsafe { 1f64.to_int_unchecked::<i32>() }; }
| ^^^^^^^^^^^^^^^^ method not found in `f64`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.