diff options
| author | David Wood <david@davidtw.co> | 2020-10-12 16:43:49 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-10-15 17:57:57 +0100 |
| commit | adf31e95e44ff0b7fbc798fe2b8cc5a42a3abf4b (patch) | |
| tree | 40f3bb50f4b92979017a51442472d7ddfe61871c /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 7f587168102498a488abf608a86c7fdfa62fb7bb (diff) | |
| download | rust-adf31e95e44ff0b7fbc798fe2b8cc5a42a3abf4b.tar.gz rust-adf31e95e44ff0b7fbc798fe2b8cc5a42a3abf4b.zip | |
resolve: suggest variants with placeholders
This commit improves the diagnostic modified in rust-lang/rust#77341 to suggest not only those variants which do not have fields, but those with fields (by suggesting with placeholders). Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
