mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
10 lines
211 B
Rust
Generated
10 lines
211 B
Rust
Generated
// generated by codegen, do not edit
|
|
|
|
fn test_variant() -> () {
|
|
// A variant in an enum declaration.
|
|
//
|
|
// For example:
|
|
enum E { A, B(i32), C { x: i32 } }
|
|
// ^ ^^^^^^ ^^^^^^^^^^^^
|
|
}
|