Pre-RFC: The `#[diagnostic]` attribute namespace and the `#[diagnostic::on_unimplemented]` attribute

That's a good suggestion. That will also allow to easily put certain parts of the attribute behind a feature flag. I would expect that to be useful for cases where a certain type is only available behind a feature flag or just for cases where a certain impl is behind a feature flag. I will in cooperate that into the final RFC before opening a PR.

On the other hand you would loose the ability to emit always some error message for a specific trait. I think both use-cases might be important. Maybe add it to future work to allow the attribute in more places? Possibly on types?

That's a good suggestion. I will add that to the "Future possibilities" section.