blob: 7ca0312775964bb9e684fbdc39c72c40dcd9b87c [file] [log] [blame]
#[diagnostic::on_unimplemented(message = "Foo", label = "Bar", note = "Baz")]
trait Foo {}
fn takes_foo(_: impl Foo) {}
fn main() {
takes_foo(());
//~^ERROR Foo
}