mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	 89f273f40d
			
		
	
	
		89f273f40d
		
	
	
	
	
		
			
			``` error: bare CR not allowed in doc-comment --> $DIR/lex-bare-cr-string-literal-doc-comment.rs:3:32 | LL | /// doc comment with bare CR: '␍' | ^ ```
		
			
				
	
	
		
			11 lines
		
	
	
		
			350 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			350 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: unknown character escape: `\r`
 | |
|   --> $DIR/trailing-carriage-return-in-string.rs:10:25
 | |
|    |
 | |
| LL |     let bad = "This is \␍ a test";
 | |
|    |                         ^ unknown character escape
 | |
|    |
 | |
|    = help: this is an isolated carriage return; consider checking your editor and version control settings
 | |
| 
 | |
| error: aborting due to 1 previous error
 | |
| 
 |