We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a41bedb commit 30ab82eCopy full SHA for 30ab82e
src/libsyntax/parse/lexer/mod.rs
@@ -130,7 +130,7 @@ impl<'a> StringReader<'a> {
130
self.ch.is_none()
131
}
132
133
- fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) {
+ fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) -> ! {
134
let mut err = self.struct_span_fatal(pos, pos, "unterminated raw string");
135
err.span_label(self.mk_sp(pos, pos), "unterminated raw string");
136
src/libsyntax/parse/unescape.rs
@@ -1,4 +1,4 @@
1
-//! Utilities for validating string and char literals and turning them into
+//! Utilities for validating string and char literals and turning them into
2
//! values they represent.
3
4
use std::str::Chars;
0 commit comments