This warning was used to prepare for Semigroup becoming a superclass of Monoid, and for (<>) being exported from Prelude. This happened in GHC 8.4 in 8ae263ce and feac0a3b.
The leftover logic for (<>) has been removed in GHC 9.8, 4d29ecdf. Now the warning does nothing at all and can be deprecated.