about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-12-24 20:22:25 +0100
committerDavid Wood <david@davidtw.co>2018-12-26 21:28:33 +0100
commit69bded2493c964cb1d5cce4f708d221e242aff41 (patch)
treea455e7e165379bd1c17ef07e5480e0d92ed3d643 /src/rustllvm/RustWrapper.cpp
parent79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff)
downloadrust-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