rust/src/test/ui/feature-gate/duplicate-features.rs
2018-12-25 21:08:33 -07:00

10 lines
234 B
Rust

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