mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			474 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			474 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: requires at least a template string argument
 | |
|   --> $DIR/global-asm.rs:4:5
 | |
|    |
 | |
| LL |     global_asm!();
 | |
|    |     ^^^^^^^^^^^^^
 | |
| 
 | |
| error: expected expression, found keyword `struct`
 | |
|   --> $DIR/global-asm.rs:5:17
 | |
|    |
 | |
| LL |     global_asm!(struct);
 | |
|    |                 ^^^^^^ expected expression
 | |
| 
 | |
| error: asm template must be a string literal
 | |
|   --> $DIR/global-asm.rs:6:17
 | |
|    |
 | |
| LL |     global_asm!(123);
 | |
|    |                 ^^^
 | |
| 
 | |
| error: aborting due to 3 previous errors
 | |
| 
 | 
