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

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

10 lines
234 B
Rust
Raw Normal View History

2018-07-23 12:08:18 +00:00
#![allow(stable_features)]
#![feature(rust1)]
#![feature(rust1)] //~ ERROR the feature `rust1` has already been declared
2018-07-23 12:08:18 +00:00
#![feature(if_let)]
#![feature(if_let)] //~ ERROR the feature `if_let` has already been declared
2018-07-23 12:08:18 +00:00
fn main() {}