summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-deprecated_safe.rs
blob: d5f4a4705b9728c253d9652ebd9a067428016044 (plain)
1
2
3
4
5
6
7
#[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() {}