diff options
| author | David Wood <david@davidtw.co> | 2018-12-24 20:22:25 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-12-26 21:28:33 +0100 |
| commit | 69bded2493c964cb1d5cce4f708d221e242aff41 (patch) | |
| tree | a455e7e165379bd1c17ef07e5480e0d92ed3d643 /src/rustllvm/RustWrapper.cpp | |
| parent | 79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff) | |
| download | rust-69bded2493c964cb1d5cce4f708d221e242aff41.tar.gz rust-69bded2493c964cb1d5cce4f708d221e242aff41.zip | |
Add union justifications to conflicting borrows.
This commit adds justifications to error messages for conflicting borrows of union fields. Where previously an error message would say ``cannot borrow `u.b` as mutable..``, it now says ``cannot borrow `u` (via `u.b`) as mutable..``.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
