]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-deprecated_safe.rs
Auto merge of #96711 - emilio:inline-slice-clone, r=nikic
[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() {}