The `@deprecated` tag cannot be used on module-info. This commit adapts the deprecation notice accordingly. Closes gh-41481