rust/tests/ui/auxiliary/impl_privacy_xc_1.rs
2023-01-11 09:32:08 +00:00

10 lines
102 B
Rust

#![crate_type = "lib"]
pub struct Fish {
pub x: isize
}
impl Fish {
pub fn swim(&self) {}
}