[−][src]Function rustc_typeck::collect::check_target_feature_trait_unsafe
pub(in collect) fn check_target_feature_trait_unsafe(
tcx: TyCtxt<'_>,
id: LocalDefId,
attr_span: Span
)
Checks the function annotated with #[target_feature] is not a safe
trait method implementation, reporting an error if it is.