rust/tests/ui/stability-attribute/auxiliary/stability_attribute_issue.rs
2023-01-11 09:32:08 +00:00

10 lines
274 B
Rust

#![feature(staged_api)]
#![stable(feature = "stable_test_feature", since = "1.2.0")]
#[unstable(feature = "unstable_test_feature", issue = "1")]
pub fn unstable() {}
#[unstable(feature = "unstable_test_feature", reason = "message", issue = "2")]
pub fn unstable_msg() {}