rust/tests/ui/stability-attribute/issue-28075.rs

14 lines
265 B
Rust

// Unstable entities should be caught in import lists
//@ aux-build:lint-stability.rs
#![allow(warnings)]
extern crate lint_stability;
use lint_stability::{unstable, deprecated};
//~^ ERROR use of unstable library feature 'unstable_test_feature'
fn main() {
}