about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-08-15 09:01:22 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-08-18 16:50:41 +1000
commitdee6c9241f7402b5122266f8f59f6b731678b50a (patch)
tree6164367968f5eb6dd53f38f6a2d5cad239f1fcf6 /compiler/rustc_mir_transform/src/coverage/debug.rs
parente46caaf84bcdfcbd7582b6ee63989f28116c3177 (diff)
downloadrust-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