9 lines
165 B
Rust
9 lines
165 B
Rust
#![feature(unsafe_attributes)]
|
|
|
|
#[unsafe(diagnostic::on_unimplemented( //~ ERROR: is not an unsafe attribute
|
|
message = "testing",
|
|
))]
|
|
trait Foo {}
|
|
|
|
fn main() {}
|