2023-09-27 17:22:18 -07:00
|
|
|
// https://github.com/rust-lang/rust/issues/16265
|
2023-09-27 16:51:21 -07:00
|
|
|
#![crate_name="issue_16265_1"]
|
|
|
|
|
2015-04-06 16:43:55 -07:00
|
|
|
pub struct Foo;
|
|
|
|
|
2022-08-10 13:13:18 -07:00
|
|
|
// @hasraw issue_16265_1/traits/index.html 'source'
|
2015-04-06 16:43:55 -07:00
|
|
|
pub mod traits {
|
|
|
|
impl PartialEq for super::Foo {
|
2021-12-03 17:09:04 -08:00
|
|
|
fn eq(&self, _: &super::Foo) -> bool {
|
|
|
|
true
|
|
|
|
}
|
2015-04-06 16:43:55 -07:00
|
|
|
}
|
|
|
|
}
|