rust/tests/ui/save-analysis/issue-73022.rs
2023-01-11 09:32:08 +00:00

14 lines
203 B
Rust

// build-pass
// compile-flags: -Zsave-analysis
enum Enum2 {
Variant8 { _field: bool },
}
impl Enum2 {
fn new_variant8() -> Enum2 {
Self::Variant8 { _field: true }
}
}
fn main() {}