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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
156 B
Rust
Raw Normal View History

2022-05-28 09:57:02 +00:00
// check-pass
#![warn(unused_features)]
#![allow(stable_features)]
// FIXME(#44232) we should warn that this isn't used.
#![feature(rust1)]
fn main() {}