diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-04-17 00:00:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-17 00:00:23 +0200 |
| commit | 4764dceb0f6f9a51c389c9b318cc1e189c89e3da (patch) | |
| tree | 47b34976d8612f836cddf2ddd2b1d63a653efc01 /compiler/rustc_parse/src/errors.rs | |
| parent | ec1618cf1716370ad06105fb72a3f8b4a6491296 (diff) | |
| parent | c95761385ea72929c1901b8a2c74506960a9c220 (diff) | |
| download | rust-4764dceb0f6f9a51c389c9b318cc1e189c89e3da.tar.gz rust-4764dceb0f6f9a51c389c9b318cc1e189c89e3da.zip | |
Rollup merge of #124000 - compiler-errors:sugg-tweaks, r=wesleywiser
Use `/* value */` as a placeholder The expression `value` isn't a valid suggestion; let's use `/* value */` as a placeholder (which is also invalid) since it more clearly signals to the user that they need to fill it in with something meaningful. This parallels the suggestions we have in a couple other places, like arguments. We could also print the type name instead of `/* value */`, especially if it's suggestable, but I don't care strongly about that.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
