rust/tests/ui/stability-attribute/issue-28075.rs
2024-02-16 20:02:50 +00:00

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() {
}