diff options
| author | Igor Matuszewski <Xanewok@gmail.com> | 2019-05-13 11:41:24 +0200 |
|---|---|---|
| committer | Igor Matuszewski <Xanewok@gmail.com> | 2019-06-08 20:05:02 +0200 |
| commit | 5b17a5e30a049b11f4bef644d2f65b748ce93c39 (patch) | |
| tree | 02f667cd6716e910940bf33b6ec6277d889310e8 /src/libsyntax/parse/lexer | |
| parent | c1c60d292e2dd2deff7084208274f9a02f750d43 (diff) | |
| download | rust-5b17a5e30a049b11f4bef644d2f65b748ce93c39.tar.gz rust-5b17a5e30a049b11f4bef644d2f65b748ce93c39.zip | |
Clean up minor bits
Diffstat (limited to 'src/libsyntax/parse/lexer')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index e3d959c2c54..406e90243b3 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -130,7 +130,7 @@ impl<'a> StringReader<'a> { 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"); |
