mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
7 lines
207 B
Rust
7 lines
207 B
Rust
//! regression test for issue <https://github.com/rust-lang/rust/issues/23217>
|
|
pub enum SomeEnum {
|
|
B = SomeEnum::A, //~ ERROR no variant, associated function, or constant named `A` found
|
|
}
|
|
|
|
fn main() {}
|