diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-08-15 09:01:22 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-08-18 16:50:41 +1000 |
| commit | dee6c9241f7402b5122266f8f59f6b731678b50a (patch) | |
| tree | 6164367968f5eb6dd53f38f6a2d5cad239f1fcf6 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | e46caaf84bcdfcbd7582b6ee63989f28116c3177 (diff) | |
| download | rust-dee6c9241f7402b5122266f8f59f6b731678b50a.tar.gz rust-dee6c9241f7402b5122266f8f59f6b731678b50a.zip | |
Refactor `interpolated_or_expr_span`.
It's much more complicated than it needs to be, and it doesn't modify the expression. We can do the `Result` handling outside of it, and change it to just return a span. Also fix an errant comma that makes the comment hard to read.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
