diff options
| author | TheWastl <36932506+TheWastl@users.noreply.github.com> | 2021-08-10 16:17:45 +0200 |
|---|---|---|
| committer | TheWastl <36932506+TheWastl@users.noreply.github.com> | 2021-08-10 16:18:37 +0200 |
| commit | cda6ecfc3d463119ae730ff3c85267d0a2724b60 (patch) | |
| tree | fdd1740664688ffad7603b3e1c0ac95001f594a9 /compiler/rustc_errors/src/snippet.rs | |
| parent | eaf6f463599df1f18da94a6965e216ea15795417 (diff) | |
| download | rust-cda6ecfc3d463119ae730ff3c85267d0a2724b60.tar.gz rust-cda6ecfc3d463119ae730ff3c85267d0a2724b60.zip | |
typeck: better diagnostics for missing inaccessible fields in struct literals/patterns
- typeck/expr: don't suggest adding fields in struct literals with inaccessible fields - typeck/pat: suggest ignoring inaccessible fields in struct patterns
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
