diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2017-07-27 14:22:49 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2017-07-30 11:08:41 -0700 |
| commit | 6f14ff105f58672476e79bf3eff88d0673bbf0b2 (patch) | |
| tree | dd93998577a635fd75e1f0415400c17f536e3728 /src/rustllvm/RustWrapper.cpp | |
| parent | 477e9f01714b6dffa1fb75e95b890d7abc2fcc52 (diff) | |
| download | rust-6f14ff105f58672476e79bf3eff88d0673bbf0b2.tar.gz rust-6f14ff105f58672476e79bf3eff88d0673bbf0b2.zip | |
add extended info for E0436 functional record update syntax needs struct
This example focuses on struct-like enum variants, because it's not immediately obvious in what other context we can get E0436 alone, without any other, more serious, errors. (Triggering E0436 with a union also emits a separate "union expressions should have exactly one field" error.) (One might argue that we ought to accept the functional record update syntax for struct-like enums, but that is beyond the scope of this error-index-comprehensiveness commit.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
