diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2018-12-21 18:49:52 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2018-12-21 18:49:52 +0300 |
| commit | a5987bd715e96f3649841c1e2020fc972134bd11 (patch) | |
| tree | 00b0f2e385e6714e121913f72741969c38b9d63f /crates/ra_syntax/src/string_lexing/string.rs | |
| parent | 0dcea10616e173a513667e3c761dc06c8253366b (diff) | |
| download | rust-a5987bd715e96f3649841c1e2020fc972134bd11.tar.gz rust-a5987bd715e96f3649841c1e2020fc972134bd11.zip | |
show debug repr of literals
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/string.rs')
| -rw-r--r-- | crates/ra_syntax/src/string_lexing/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/string.rs b/crates/ra_syntax/src/string_lexing/string.rs index 1b23029c64e..d8351e9af7a 100644 --- a/crates/ra_syntax/src/string_lexing/string.rs +++ b/crates/ra_syntax/src/string_lexing/string.rs @@ -35,7 +35,7 @@ impl<'a> Iterator for StringComponentIterator<'a> { assert!( self.parser.peek() == None, - "string literal should leave no unparsed input: src = {}, pos = {}, length = {}", + "string literal should leave no unparsed input: src = {:?}, pos = {}, length = {}", self.parser.src, self.parser.pos, self.parser.src.len() |
