mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
21 lines
494 B
Rust
21 lines
494 B
Rust
// check-pass
|
|
#![allow(dead_code)]
|
|
#![allow(non_camel_case_types)]
|
|
#![allow(non_upper_case_globals)]
|
|
// pretty-expanded FIXME #23616
|
|
|
|
pub struct UninterpretedOption_NamePart {
|
|
name_part: Option<String>,
|
|
}
|
|
|
|
impl<'a> UninterpretedOption_NamePart {
|
|
pub fn default_instance() -> &'static UninterpretedOption_NamePart {
|
|
static instance: UninterpretedOption_NamePart = UninterpretedOption_NamePart {
|
|
name_part: None,
|
|
};
|
|
&instance
|
|
}
|
|
}
|
|
|
|
pub fn main() {}
|