mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			232 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			232 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Regression test for the issue #44692
 | 
						|
 | 
						|
macro_rules! hang { () => {
 | 
						|
    { //~ ERROR format argument must be a string literal
 | 
						|
        #[derive(Clone)]
 | 
						|
        struct S;
 | 
						|
 | 
						|
        ""
 | 
						|
    }
 | 
						|
}}
 | 
						|
 | 
						|
fn main() {
 | 
						|
    format_args!(hang!());
 | 
						|
}
 |