Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
fn main() { | ||
let x = r###"here's a long string"# "# "##; | ||
//~^ ERROR unterminated raw string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
error[E0748]: unterminated raw string | ||
--> $DIR/raw-string-2.rs:2:13 | ||
| | ||
LL | let x = r###"here's a long string"# "# "##; | ||
| ^ unterminated raw string -- help: consider terminating the string here: `###` | ||
| | ||
= note: this raw string should be terminated with `"###` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0748`. |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/test/ui/parser/raw/raw_string.stderr → src/test/ui/parser/raw/raw-string.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters