diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-06-08 15:17:34 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-06-08 15:17:34 +0300 |
| commit | 5b1ac613834326ea935c52a95089d610f66cd636 (patch) | |
| tree | d0b255d3cb94c5010f791a2ad071e3293f0602b2 /compiler/rustc_errors/src/snippet.rs | |
| parent | 3bae562b51452906e7f8046f984d8e861c0e8bc5 (diff) | |
| download | rust-5b1ac613834326ea935c52a95089d610f66cd636.tar.gz rust-5b1ac613834326ea935c52a95089d610f66cd636.zip | |
Add the quickfix for increasing visibility of a private field to the private-field diagnostic (previously it was only on no-such-field)
The difference between the diagnostics is that no-such-field is for record struct construction, while private-field is for dot syntax. I tried to unify them, but there is a bit of uniqueness in each. This is possible but maybe not worth it. Also, fix the quickfix when there is already a visibility to the field (replace it instead of appending to it).
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
