different supertraits can suffer from the same object-safety violation, leading to duplication in the error message. Avoid it. Fixes #20692