summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-unknown-feature.rs
blob: 1af8d4ff8420fcf7391ab9e7c9d778f1836c0041 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![warn(unused_features)]

#![allow(stable_features)]
// FIXME(#44232) we should warn that this isn't used.
#![feature(rust1)]

fn main() {}