mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
14 lines
235 B
Rust
14 lines
235 B
Rust
#![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 }
|
|
}
|
|
}
|