We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3840c9 commit 759d1e6Copy full SHA for 759d1e6
compiler/rustc_parse/src/lexer/mod.rs
@@ -589,15 +589,13 @@ impl<'a> StringReader<'a> {
589
}
590
591
592
- /// Note: It was decided to not add a test case, because it would be too big.
593
- /// <https://github.com/rust-lang/rust/pull/50296#issuecomment-392135180>
594
fn report_too_many_hashes(&self, start: BytePos, found: usize) -> ! {
595
self.fatal_span_(
596
start,
597
self.pos,
598
&format!(
599
"too many `#` symbols: raw strings may be delimited \
600
- by up to 65535 `#` symbols, but found {}",
+ by up to 255 `#` symbols, but found {}",
601
found
602
),
603
)
0 commit comments