mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			180 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			180 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![crate_type="lib"]
 | |
| #![feature(unboxed_closures)]
 | |
| 
 | |
| pub trait Foo {
 | |
|     extern "rust-call" fn foo(&self, _: ()) -> i32;
 | |
|     extern "rust-call" fn foo_(&self, _: ()) -> i32 { 0 }
 | |
| }
 | 
