mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-29 20:15:27 +00:00 
			
		
		
		
	 95ff642797
			
		
	
	
		95ff642797
		
	
	
	
	
		
			
			Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
		
			
				
	
	
		
			14 lines
		
	
	
		
			189 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			189 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ run-pass
 | |
| #![allow(dead_code)]
 | |
| //@ aux-build:coherence_lib.rs
 | |
| 
 | |
| 
 | |
| extern crate coherence_lib as lib;
 | |
| use lib::Remote1;
 | |
| 
 | |
| struct Foo<T>(T);
 | |
| 
 | |
| impl<T> Remote1<T> for Foo<T> { }
 | |
| 
 | |
| fn main() { }
 |