mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			204 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			204 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![crate_name = "foo"]
 | |
| 
 | |
| pub struct TyCtxt;
 | |
| pub struct DefId;
 | |
| pub struct Symbol;
 | |
| 
 | |
| impl TyCtxt {
 | |
|     pub fn has_attr(self, _did: impl Into<DefId>, _attr: Symbol) -> bool {
 | |
|         unimplemented!();
 | |
|     }
 | |
| }
 | 
