blob: 5f9c22681671b20df02ce293fa1f4f92739106d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![crate_type = "lib"]
pub struct Fish {
pub x: isize
}
mod unexported {
use super::Fish;
impl PartialEq for Fish {
fn eq(&self, _: &Fish) -> bool { true }
fn ne(&self, _: &Fish) -> bool { false }
}
}
|