Since #34403 has been merged, we can now add error codes into libsyntax. I'll start in the next days. cc @jonathandturner