summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/duplicate-features.rs
blob: d8f7818054a127192e0e5939fdb50ac23d0f6ee9 (plain)
1
2
3
4
5
6
7
8
9
#![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() {}