rustc: adjust span for error message to not trim last letter