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