The diagnostic message «An attribute code must be fewer than %1 characters.» is semantically wrong

The wrong code is here:

and here:

The message An attribute code must be fewer than %1 characters. is wrong because the length equals to \Magento\Eav\Model\Entity\Attribute::ATTRIBUTE_CODE_MAX_LENGTH is acceptable both by the Magento database and by the Zend_Validate_StringLength validator used:

GitHub issue: 1978