about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-23 20:40:06 +0530
committerGitHub <noreply@github.com>2022-08-23 20:40:06 +0530
commit110d8d99b2de49044be7dc7b59f4a39724400cde (patch)
treeb51828bd6ca0938f1ca293d4b8f9b8f5d45ecd15 /compiler/rustc_mir_transform/src/coverage/query.rs
parenta163659b1b619d3e7872fda88de5c09c3d47635e (diff)
parent586c84a0522072b68d38d1d062b7264ab323a87e (diff)
downloadrust-110d8d99b2de49044be7dc7b59f4a39724400cde.tar.gz
rust-110d8d99b2de49044be7dc7b59f4a39724400cde.zip
Rollup merge of #100851 - Alexendoo:rpf-width-prec-spans, r=fee1-dead
Fix rustc_parse_format precision & width spans

When a `precision`/`width` was `CountIsName - {:name$}` or `CountIs - {:10}` the `precision_span`/`width_span` was set to `None`

For `width` the name span in `CountIsName(_, name_span)` had its `.start` off by one

r? ``@fee1-dead`` / cc ``@PrestonFrom`` since this is similar to #99987
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions