mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			205 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			205 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// error-pattern: cannot export macro_rules! macros from a `proc-macro` crate
 | 
						|
 | 
						|
// force-host
 | 
						|
// no-prefer-dynamic
 | 
						|
 | 
						|
#![crate_type = "proc-macro"]
 | 
						|
 | 
						|
#[macro_export]
 | 
						|
macro_rules! foo {
 | 
						|
    ($e:expr) => ($e)
 | 
						|
}
 |