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