diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-16 19:58:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 19:58:59 +0200 |
| commit | 5bceee4762b4fad94a715b9efdeed252cc793035 (patch) | |
| tree | 8b78882c055f156fbb1bffa903ed4d474564264d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 7177a0eeefb732c06b296b2eeda6afe3c60bc5b3 (diff) | |
| parent | e03cc14b7a781f9b921da50928b0a480b4aaca16 (diff) | |
| download | rust-5bceee4762b4fad94a715b9efdeed252cc793035.tar.gz rust-5bceee4762b4fad94a715b9efdeed252cc793035.zip | |
Rollup merge of #129154 - wafarm:fix-95463, r=estebank
Fix wrong source location for some incorrect macro definitions
Fixes #95463
Currently the code will consume the next token tree after `var` when trying to parse `$var:some_type` even when it's not a `:` (e.g. a `$` when input is `($foo $bar:tt) => {}`). Additionally it will return the wrong span when it's not a `:`.
This PR fixes these problems.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
