about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-01-01 12:51:54 +0000
committerbors <bors@rust-lang.org>2018-01-01 12:51:54 +0000
commitd5f2745e7ccd247da50f0cb18318ac477e5bccbf (patch)
tree2d99f92535b8a35df3859c92768e8c0accaa9f0f /src/rustllvm/RustWrapper.cpp
parentbc1dda43ecef0a83ea1d3b92159a8848d2d99b82 (diff)
parent6384568fdb3ca50807aa303c7cec7cc920e38561 (diff)
downloadrust-d5f2745e7ccd247da50f0cb18318ac477e5bccbf.tar.gz
rust-d5f2745e7ccd247da50f0cb18318ac477e5bccbf.zip
Auto merge of #47098 - estebank:immutable-field, r=nagisa
Reword trying to operate in immutable fields

The previous message ("cannot assign/mutably borrow immutable field")
when trying to modify a field of an immutable binding gave the
(incorrect) impression that fields can be mutable independently of their
ADT's binding. Slightly reword the message to read "cannot
assign/mutably borrow field of immutable binding".

Re #35937.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions