mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-15 07:29:20 +00:00
9 lines
179 B
Rust
9 lines
179 B
Rust
#![feature(type_ascription)]
|
|
|
|
enum Bug<S> { //~ ERROR parameter `S` is never used
|
|
Var = type_ascribe!(0, S),
|
|
//~^ ERROR generic parameters may not be used
|
|
}
|
|
|
|
fn main() {}
|