about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-16 07:24:43 +0900
committerGitHub <noreply@github.com>2022-06-16 07:24:43 +0900
commitbfc6c90115a84157451b0738f5f56fd8275a9aaa (patch)
treec2354dbb0c69a5d3c2647c3db2f0a3e5bb6ed24f /compiler/rustc_mir_transform/src/coverage/debug.rs
parentad61ae59bf3a3d64fc724bb4d6b32eba33b01671 (diff)
parent71a98e1a4ec98d263984e78f0e54ea0dfa0c7846 (diff)
downloadrust-bfc6c90115a84157451b0738f5f56fd8275a9aaa.tar.gz
rust-bfc6c90115a84157451b0738f5f56fd8275a9aaa.zip
Rollup merge of #98119 - EdwinRy:path-parenthesized-type-error, r=estebank
Refactor path segment parameter error

This PR attempts to rewrite the error handling for an unexpected parenthesised type parameters to:
- Use provided data instead of re-parsing the whole span
- Add a multipart suggestion to reflect on the changes with an underline
- Remove the unnecessary "if" nesting
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions