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/byte.rs | |
parent | 0dcea10616e173a513667e3c761dc06c8253366b (diff) |
show debug repr of literals
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/byte.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/byte.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/byte.rs b/crates/ra_syntax/src/string_lexing/byte.rs index 24424349c..b3228d6ca 100644 --- a/crates/ra_syntax/src/string_lexing/byte.rs +++ b/crates/ra_syntax/src/string_lexing/byte.rs | |||
@@ -40,7 +40,7 @@ impl<'a> Iterator for ByteComponentIterator<'a> { | |||
40 | 40 | ||
41 | assert!( | 41 | assert!( |
42 | self.parser.peek() == None, | 42 | self.parser.peek() == None, |
43 | "byte literal should leave no unparsed input: src = {}, pos = {}, length = {}", | 43 | "byte literal should leave no unparsed input: src = {:?}, pos = {}, length = {}", |
44 | self.parser.src, | 44 | self.parser.src, |
45 | self.parser.pos, | 45 | self.parser.pos, |
46 | self.parser.src.len() | 46 | self.parser.src.len() |