mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
8 lines
134 B
Rust
8 lines
134 B
Rust
//@ known-bug: #138660
|
|
enum A {
|
|
V1(isize) = 1..=10,
|
|
V0 = 1..=10,
|
|
}
|
|
const B: &'static [A] = &[A::V0, A::V1(111)];
|
|
fn main() {}
|