summary refs log tree commit diff
path: root/src/test/ui/stability-attribute/stability-attribute-issue.rs
blob: fc4a7dab1af0a6ac25bc8c7210287720c3afb37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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)
}