rust/src/test/auxiliary/impl_privacy_xc_2.rs
2013-05-03 20:01:42 -04:00

14 lines
222 B
Rust

#[crate_type = "lib"];
pub struct Fish {
x: int
}
mod unexported {
use super::Fish;
impl Eq for Fish {
fn eq(&self, _: &Fish) -> bool { true }
fn ne(&self, _: &Fish) -> bool { false }
}
}