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