mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
8 lines
327 B
Rust
8 lines
327 B
Rust
#[deprecated_safe(since = "TBD", note = "...")] //~ ERROR: the `#[deprecated_safe]` attribute is an experimental feature
|
|
unsafe fn deprecated_safe_fn() {}
|
|
|
|
#[deprecated_safe(since = "TBD", note = "...")] //~ ERROR: the `#[deprecated_safe]` attribute is an experimental feature
|
|
unsafe trait DeprecatedSafeTrait {}
|
|
|
|
fn main() {}
|