]> git.lizzy.rs Git - rust.git/blob - src/test/ui/auxiliary/impl_privacy_xc_2.rs
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[rust.git] / src / test / ui / auxiliary / impl_privacy_xc_2.rs
1 #![crate_type = "lib"]
2
3 pub struct Fish {
4     pub x: isize
5 }
6
7 mod unexported {
8     use super::Fish;
9     impl PartialEq for Fish {
10         fn eq(&self, _: &Fish) -> bool { true }
11         fn ne(&self, _: &Fish) -> bool { false }
12     }
13 }