about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-06-28 18:28:47 +0530
committerGitHub <noreply@github.com>2023-06-28 18:28:47 +0530
commite4e1a995dcecddd71760f1f946f282e7825181e8 (patch)
tree2fde1ed298ddc7568a1d4ef35fb2b7f3e1203f11 /compiler/rustc_codegen_gcc/example/std_example.rs
parentfc2c587cd04822bc9cf1b90a00e77f0a0996aca4 (diff)
parent96bd0566959a9b3421dbedc8450271d56b0985b5 (diff)
downloadrust-e4e1a995dcecddd71760f1f946f282e7825181e8.tar.gz
rust-e4e1a995dcecddd71760f1f946f282e7825181e8.zip
Rollup merge of #113019 - ericmarkmartin:warning-for-guard-non-exhaustion, r=fee1-dead
add note for non-exhaustive matches with guards

Associated issue: #92197

When a match statement includes guards on every match arm (and is therefore necessarily non-exhaustive), add a note to the error E0004 diagnostic noting this.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions