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-05 04:00:03 +00:00
// aux-build:lint-stability.rs
2015-09-19 09:16:30 +00:00
extern crate lint_stability;
2018-07-23 11:22:23 +00:00
use lint_stability::UnstableEnum::{};
//~^ ERROR use of unstable library feature 'unstable_test_feature'
use lint_stability::StableEnum::{}; // OK
fn main() {}