P2615R1 introduces diagnostics for partial and explicit specializations in module export declarations. This is applied as a DR to C++20.
Two testcases are removed since they were testing behaviour of imported specialisations (which are no longer permitted as exports).
Three testcases are amended to remove exports of specialisations, but retain the remainder of the test.
According to #[dcl.pre] in https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2615r1.html, the export for explicit instantiation is also allowed.