the doctrine that stated that when the pope spoke on matters of faith and morality, he couldnt be wrong