mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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() {}
|