mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			222 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			222 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ run-pass
 | 
						|
#![allow(dead_code)]
 | 
						|
//@ aux-build:coherence_lib.rs
 | 
						|
 | 
						|
//@ pretty-expanded FIXME #23616
 | 
						|
 | 
						|
extern crate coherence_lib as lib;
 | 
						|
use lib::Remote1;
 | 
						|
 | 
						|
struct Foo<T>(T);
 | 
						|
 | 
						|
impl<T> Remote1<T> for Foo<T> { }
 | 
						|
 | 
						|
fn main() { }
 |