rust/src/test/ui/stability-attribute/stability-attribute-issue.rs
2018-12-25 21:08:33 -07:00

14 lines
397 B
Rust

// aux-build:stability_attribute_issue.rs
// ignore-tidy-linelength
#![deny(deprecated)]
extern crate stability_attribute_issue;
use stability_attribute_issue::*;
fn main() {
unstable();
//~^ ERROR use of unstable library feature 'unstable_test_feature' (see issue #1)
unstable_msg();
//~^ ERROR use of unstable library feature 'unstable_test_feature': message (see issue #2)
}