mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00
7 lines
133 B
Rust
7 lines
133 B
Rust
![]() |
#[unsafe(diagnostic::on_unimplemented( //~ ERROR: is not an unsafe attribute
|
||
|
message = "testing",
|
||
|
))]
|
||
|
trait Foo {}
|
||
|
|
||
|
fn main() {}
|