2020-05-06 12:14:05 -05:00
|
|
|
#![feature(type_ascription)]
|
|
|
|
|
2020-11-17 04:44:21 -06:00
|
|
|
enum Bug<S> { //~ ERROR parameter `S` is never used
|
2022-11-19 15:11:00 -06:00
|
|
|
Var = type_ascribe!(0, S),
|
2020-11-17 04:44:21 -06:00
|
|
|
//~^ ERROR generic parameters may not be used
|
2020-05-06 12:14:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|