rust/tests/ui/stability-attribute/auxiliary/stability_attribute_issue.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
274 B
Rust
Raw Normal View History

#![feature(staged_api)]
2018-07-23 06:22:23 -05:00
#![stable(feature = "stable_test_feature", since = "1.2.0")]
2018-07-23 06:22:23 -05:00
#[unstable(feature = "unstable_test_feature", issue = "1")]
pub fn unstable() {}
2018-07-23 06:22:23 -05:00
#[unstable(feature = "unstable_test_feature", reason = "message", issue = "2")]
pub fn unstable_msg() {}