2013-01-31 12:40:05 -08:00
|
|
|
#[crate_type = "lib"];
|
|
|
|
|
|
|
|
pub struct Fish {
|
|
|
|
x: int
|
|
|
|
}
|
|
|
|
|
|
|
|
mod unexported {
|
|
|
|
use super::Fish;
|
2013-02-14 11:47:00 -08:00
|
|
|
impl Eq for Fish {
|
2013-03-22 11:23:21 -07:00
|
|
|
fn eq(&self, _: &Fish) -> bool { true }
|
|
|
|
fn ne(&self, _: &Fish) -> bool { false }
|
2013-01-31 12:40:05 -08:00
|
|
|
}
|
|
|
|
}
|