rust/tests/ui/feature-gates/duplicate-features.rs

10 lines
232 B
Rust

#![allow(stable_features)]
#![feature(rust1)]
#![feature(rust1)] //~ ERROR the feature `rust1` has already been enabled
#![feature(if_let)]
#![feature(if_let)] //~ ERROR the feature `if_let` has already been enabled
fn main() {}