summaryrefslogtreecommitdiffstats
path: root/tests/ui/stability-attribute/stability-attribute-issue.rs
blob: cda1aff133f94b63d5ffb23949e2063376e7e0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// aux-build:stability_attribute_issue.rs
#![deny(deprecated)]

extern crate stability_attribute_issue;
use stability_attribute_issue::*;

fn main() {
    unstable();
    //~^ ERROR use of unstable library feature 'unstable_test_feature'
    unstable_msg();
    //~^ ERROR use of unstable library feature 'unstable_test_feature': message
}