about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-01-25 17:01:43 +0530
committerGitHub <noreply@github.com>2023-01-25 17:01:43 +0530
commit4e2b5d1f549208d1fc791b816078429cff64b1b1 (patch)
treeb380dc5859045c9e09f062d8dce8e7c566c1b73f /compiler/rustc_mir_transform/src/coverage/debug.rs
parenta788ce243a694da626a66e1fa47f1aa14eaed21c (diff)
parenta8b77cfe5464e29b25389593ced9d080bf0dd6c8 (diff)
downloadrust-4e2b5d1f549208d1fc791b816078429cff64b1b1.tar.gz
rust-4e2b5d1f549208d1fc791b816078429cff64b1b1.zip
Rollup merge of #107213 - edward-shen:edward-shen/fix-accidental-let-else, r=compiler-errors
Add suggestion to remove if in let..else block

Adds an additional hint to failures where we encounter an else keyword while we're parsing an if-let expression.

This is likely that the user has accidentally mixed if-let and let..else together.

Fixes #103791.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions