The error message does not explain why a restriction check failed https://github.com/rescript-lang/rescript-compiler/pull/6103