rust/tests/ui/stability-attribute/stability-attribute-issue.rs

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

13 lines
340 B
Rust
Raw Normal View History

// aux-build:stability_attribute_issue.rs
#![deny(deprecated)]
extern crate stability_attribute_issue;
use stability_attribute_issue::*;
fn main() {
2018-07-23 06:22:23 -05:00
unstable();
2019-04-10 18:40:12 -05:00
//~^ ERROR use of unstable library feature 'unstable_test_feature'
2018-07-23 06:22:23 -05:00
unstable_msg();
2019-04-10 18:40:12 -05:00
//~^ ERROR use of unstable library feature 'unstable_test_feature': message
}