Move source location to first line of type error message