summaryrefslogtreecommitdiffstats
path: root/src/test/ui/enum/issue-67945-2.rs
blob: e5044468da12929266ca65867b6911295d6622fb (plain)
1
2
3
4
5
6
7
8
#![feature(type_ascription)]

enum Bug<S> { //~ ERROR parameter `S` is never used
    Var = 0: S,
    //~^ ERROR generic parameters may not be used
}

fn main() {}