mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			152 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			152 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
trait T { m!(); } //~ ERROR cannot find macro `m` in this scope
 | 
						|
 | 
						|
struct S;
 | 
						|
impl S { m!(); } //~ ERROR cannot find macro `m` in this scope
 | 
						|
 | 
						|
fn main() {}
 |