about summary refs log tree commit diff
path: root/crates/ra_syntax/src/string_lexing/string.rs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2018-12-21 18:49:52 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2018-12-21 18:49:52 +0300
commita5987bd715e96f3649841c1e2020fc972134bd11 (patch)
tree00b0f2e385e6714e121913f72741969c38b9d63f /crates/ra_syntax/src/string_lexing/string.rs
parent0dcea10616e173a513667e3c761dc06c8253366b (diff)
downloadrust-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.rs2
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()