A man from the companions of Messenger of Allah ﷺ who I think, was Ibn ʿUmar said, "The Verse:-- "Whether you show what is in your minds or conceal it...." was abrogated by the Verse following it."
عَنْ رَجُلٍ مِنْ أَصْحَابِ رَسُولِ اللَّهِ ﷺ قَالَ أَحْسِبُهُ ابْنَ عُمَرَ {إِنْ تُبْدُوا مَا فِي أَنْفُسِكُمْ أَوْ تُخْفُوهُ} قَالَ نَسَخَتْهَا الآيَةُ الَّتِي بَعْدَهَا