pub fn get_def_span<'tcx>( tcx: TyCtxt<'tcx>, def_id: DefId, def_kind: DefKind, ) -> Span
Gets the attributes of the definition.