Function is_fn_unsafe_to_call
pub fn is_fn_unsafe_to_call(
db: &(dyn HirDatabase + 'static),
func: FunctionId,
caller_target_features: &TargetFeatures<'_>,
call_edition: Edition,
target_feature_is_safe: TargetFeatureIsSafeInTarget,
) -> Unsafety