mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// https://github.com/rust-lang/rust/issues/16265
 | 
						|
#![crate_name="issue_16265_1"]
 | 
						|
 | 
						|
pub struct Foo;
 | 
						|
 | 
						|
//@ hasraw issue_16265_1/traits/index.html 'source'
 | 
						|
pub mod traits {
 | 
						|
    impl PartialEq for super::Foo {
 | 
						|
        fn eq(&self, _: &super::Foo) -> bool {
 | 
						|
            true
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |