We have the following failure on master with scaladoc tests * https://github.com/lampepfl/dotty/actions/runs/7395118069/job/20117666671 Based on the [timeline](https://github.com/lampepfl/dotty/commits/main/ ), this issue started in https://github.com/lampepfl/dotty/pull/18967. But when reverting this PR (https://github.com/lampepfl/dotty/pull/19358) we still get the same issue.