rust/tests/ui/feature-gates/duplicate-features.rs
2023-01-11 09:32:08 +00: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() {}