1 2 3 4 5 6
#[unsafe(diagnostic::on_unimplemented( //~ ERROR: is not an unsafe attribute message = "testing", ))] trait Foo {} fn main() {}