rust/tests/ui/lint/lint-unknown-feature.rs

10 lines
157 B
Rust

//@ check-pass
#![warn(unused_features)]
#![allow(stable_features)]
// FIXME(#44232) we should warn that this isn't used.
#![feature(rust1)]
fn main() {}