syntax: fix span for obsolete extern visibility error