diff options
author | Aleksey Kladov <[email protected]> | 2018-12-21 15:49:52 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-21 15:49:52 +0000 |
commit | a5987bd715e96f3649841c1e2020fc972134bd11 (patch) | |
tree | 00b0f2e385e6714e121913f72741969c38b9d63f /crates/ra_syntax/src/string_lexing/char.rs | |
parent | 0dcea10616e173a513667e3c761dc06c8253366b (diff) |
show debug repr of literals
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/char.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/char.rs b/crates/ra_syntax/src/string_lexing/char.rs index 885c03b14..e01813176 100644 --- a/crates/ra_syntax/src/string_lexing/char.rs +++ b/crates/ra_syntax/src/string_lexing/char.rs | |||
@@ -35,7 +35,7 @@ impl<'a> Iterator for CharComponentIterator<'a> { | |||
35 | 35 | ||
36 | assert!( | 36 | assert!( |
37 | self.parser.peek() == None, | 37 | self.parser.peek() == None, |
38 | "char literal should leave no unparsed input: src = {}, pos = {}, length = {}", | 38 | "char literal should leave no unparsed input: src = {:?}, pos = {}, length = {}", |
39 | self.parser.src, | 39 | self.parser.src, |
40 | self.parser.pos, | 40 | self.parser.pos, |
41 | self.parser.src.len() | 41 | self.parser.src.len() |