about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-14 13:04:24 +0100
committerGitHub <noreply@github.com>2023-01-14 13:04:24 +0100
commit8e0eecdba684b2d01fe4261f8fd367a7b4e913a6 (patch)
tree8bc1afa1c48a50b9cb41f1dc0274ba42e3aa5467 /compiler/rustc_parse/src/errors.rs
parent27db39b1b30fe808ba725d36f4293a3b61a4b029 (diff)
parenta3d6bc34684f67b9b5b2a419d57dc0afe5af4a67 (diff)
downloadrust-8e0eecdba684b2d01fe4261f8fd367a7b4e913a6.tar.gz
rust-8e0eecdba684b2d01fe4261f8fd367a7b4e913a6.zip
Rollup merge of #106566 - clubby789:contiguous-weird-unicode, r=cjgillot
Emit a single error for contiguous sequences of unknown tokens

Closes #106101

On encountering a sequence of identical source characters which are unknown tokens, note the amount of subsequent characters and advance past them silently. The old behavior was to emit an error and 'help' note for every single one.

`@rustbot` label +A-diagnostics +A-parser
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions