Update error message & remove outdated test comment
This commit is contained in:
parent
c3840c9ea1
commit
759d1e6af8
1 changed files with 1 additions and 3 deletions
|
@ -589,15 +589,13 @@ impl<'a> StringReader<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Note: It was decided to not add a test case, because it would be too big.
|
|
||||||
/// <https://github.com/rust-lang/rust/pull/50296#issuecomment-392135180>
|
|
||||||
fn report_too_many_hashes(&self, start: BytePos, found: usize) -> ! {
|
fn report_too_many_hashes(&self, start: BytePos, found: usize) -> ! {
|
||||||
self.fatal_span_(
|
self.fatal_span_(
|
||||||
start,
|
start,
|
||||||
self.pos,
|
self.pos,
|
||||||
&format!(
|
&format!(
|
||||||
"too many `#` symbols: raw strings may be delimited \
|
"too many `#` symbols: raw strings may be delimited \
|
||||||
by up to 65535 `#` symbols, but found {}",
|
by up to 255 `#` symbols, but found {}",
|
||||||
found
|
found
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue