fn picosecond_truncation_warning(variant: &'static str) -> PlanError
Returns the diagnostic for truncating a picosecond value to nanoseconds.