pub fn check_target_feature_trait_unsafe(
    tcx: TyCtxt<'_>,
    id: LocalDefId,
    attr_span: Span
)
Expand description

Checks the function annotated with #[target_feature] is not a safe trait method implementation, reporting an error if it is.