about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-28 21:35:58 +0100
committerGitHub <noreply@github.com>2019-10-28 21:35:58 +0100
commit2fe6f22dea25dd7498b2acb0f0156563644a13f2 (patch)
tree1b750d9b784fc10e9690b0a6d853edc2c5d1832c /src/rustllvm/RustWrapper.cpp
parenteec3a9c4af5067c37f5b681599a48b4e21098260 (diff)
parente8016c2b13a7e16b6eed9e30b4b6bfe304750566 (diff)
downloadrust-2fe6f22dea25dd7498b2acb0f0156563644a13f2.tar.gz
rust-2fe6f22dea25dd7498b2acb0f0156563644a13f2.zip
Rollup merge of #65640 - estebank:recover-missing-semi, r=Centril
Use heuristics to recover parsing of missing `;`

- Detect `,` and `:` typos where `;` was intended.
- When the next token could have been the start of a new statement,
  detect a missing semicolon.

Fix #48160, fix #44767 (after adding note about statements).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions