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

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

12 lines
319 B
Rust
Raw Normal View History

// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
2018-11-04 22:00:03 -06:00
// aux-build:lint-stability.rs
2015-09-19 04:16:30 -05:00
extern crate lint_stability;
2018-07-23 06:22:23 -05:00
use lint_stability::UnstableEnum::{};
//~^ ERROR use of unstable library feature 'unstable_test_feature'
use lint_stability::StableEnum::{}; // OK
fn main() {}