Works as of 2.111, fails on master:
// REQUIRED_ARGS: -preview=dip1000
void assertEq(scope int[][3] x) @safe
{
bool b = x == x;
}
Expected to pass, but it errors:
app.d(4): Error: can't infer return type in function `assertEq`
bool b = x == x;
Introduced by #21513