about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-09-06 17:00:28 +0200
committerGitHub <noreply@github.com>2022-09-06 17:00:28 +0200
commit78968e595924af11c3e487f7f0ae7fc7b3c23fc5 (patch)
tree32e4add8bef23d5d114a0033257cc2b4f6033084 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent7c7548cd37aae8229cde15e9a33439ad6fbab6e0 (diff)
parentfbf11cfc1314e577bfdae7d53953220798ffa12b (diff)
downloadrust-78968e595924af11c3e487f7f0ae7fc7b3c23fc5.tar.gz
rust-78968e595924af11c3e487f7f0ae7fc7b3c23fc5.zip
Rollup merge of #101457 - ChayimFriedman2:struct-field-semi, r=fee1-dead
Recover from using `;` as separator between fields

Partially fixes #101440 (only for record structs).

Doing that for tuple structs is harder as their parsing passes through a bunch of helper functions. I don't know how to do that. But [their error message is better anyway](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=cc6ee8bb2593596c0cea89d49e79bcb4) and suggests using a comma, even if it doesn't suggest replacing the semicolon with it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions