]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-deprecated_safe.rs
Rollup merge of #102445 - jmillikin:cstr-is-empty, r=Mark-Simulacrum
[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() {}