]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-deprecated_safe.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / feature-gates / feature-gate-deprecated_safe.rs
1 #[deprecated_safe(since = "TBD", note = "...")] //~ ERROR: the `#[deprecated_safe]` attribute is an experimental feature
2 unsafe fn deprecated_safe_fn() {}
3
4 #[deprecated_safe(since = "TBD", note = "...")] //~ ERROR: the `#[deprecated_safe]` attribute is an experimental feature
5 unsafe trait DeprecatedSafeTrait {}
6
7 fn main() {}