Clean up minor bits
This commit is contained in:
parent
c1c60d292e
commit
5b17a5e30a
@ -130,7 +130,7 @@ fn is_eof(&self) -> bool {
|
||||
self.ch.is_none()
|
||||
}
|
||||
|
||||
fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) {
|
||||
fn fail_unterminated_raw_string(&self, pos: BytePos, hash_count: u16) -> ! {
|
||||
let mut err = self.struct_span_fatal(pos, pos, "unterminated raw string");
|
||||
err.span_label(self.mk_sp(pos, pos), "unterminated raw string");
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//! Utilities for validating string and char literals and turning them into
|
||||
//! Utilities for validating string and char literals and turning them into
|
||||
//! values they represent.
|
||||
|
||||
use std::str::Chars;
|
||||
|
Loading…
Reference in New Issue
Block a user