mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			163 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			163 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
fn main() {
 | 
						|
    concat!(-42);
 | 
						|
    concat!(-3.14);
 | 
						|
 | 
						|
    concat!(-"hello");
 | 
						|
    //~^ ERROR expected a literal
 | 
						|
 | 
						|
    concat!(--1);
 | 
						|
    //~^ ERROR expected a literal
 | 
						|
}
 |