diff options
| author | bors <bors@rust-lang.org> | 2021-09-06 07:58:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-06 07:58:24 +0000 |
| commit | d19d864e79531ad702e4f44b2635da6c50cc5eb0 (patch) | |
| tree | 2b750bf335f2e0d0c4856020bce6ceae1cfa2c1f /src/test/rustdoc-ui/coverage/enum-tuple-documented.rs | |
| parent | b2d9bcda7ec267dbabfaef67f7af344ef71e002c (diff) | |
| parent | 2226977a875c149effeb7d6b85bce5a5ba0c440c (diff) | |
| download | rust-d19d864e79531ad702e4f44b2635da6c50cc5eb0.tar.gz rust-d19d864e79531ad702e4f44b2635da6c50cc5eb0.zip | |
Auto merge of #88631 - camelid:sugg-span, r=davidtwco
Improve structured tuple struct suggestion Previously, the span was just for the constructor name, which meant it would result in syntactically-invalid code when applied. Now, the span is for the entire expression. I also changed it to use `span_suggestion_verbose`, for two reasons: 1. Now that the suggestion span has been corrected, the output is a bit cluttered and hard to read. Putting the suggestion its own window creates more space. 2. It's easier to see what's being suggested, since now the version after the suggestion is applied is shown. r? `@davidtwco`
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple-documented.rs')
0 files changed, 0 insertions, 0 deletions
