//@ compile-flags: -Zunpretty=hir //@ check-pass #[diagnostic::on_unimplemented( message = "My Message for `ImportantTrait<{A}>` implemented for `{Self}`", label = "My Label", note = "Note 1", note = "Note 2" )] pub trait ImportantTrait {} #[diagnostic::do_not_recommend] impl ImportantTrait for T where T: Clone {}