mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +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() {}
|