about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-25 21:33:43 +0200
committerGitHub <noreply@github.com>2024-06-25 21:33:43 +0200
commit6077c0ed9dab8925d9b19ff4c1d06cf263ffea88 (patch)
treeced0dbd233923ecfc86a1af590fac46ace2099b5 /compiler/rustc_errors/src/snippet.rs
parente29cc5dc9c9ae7ad6885a0462af7eee4fcdbd8d7 (diff)
parent8016940ef41b1245aecf9eb19c02b85f45dcd133 (diff)
downloadrust-6077c0ed9dab8925d9b19ff4c1d06cf263ffea88.tar.gz
rust-6077c0ed9dab8925d9b19ff4c1d06cf263ffea88.zip
Rollup merge of #126926 - Zalathar:candidate-per-arm, r=Nadrieril
Tweak a confusing comment in `create_match_candidates`

This comment was accurate at the time it was written, but various later changes reshuffled things in ways that caused the existing comment to become confusing.

I've therefore tried to clarify that *these* candidates are 1:1 with match arms, while also warning that that isn't the case in general.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions