about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorRuud van Asseldonk <ruuda@google.com>2016-01-28 22:23:47 +0100
committerRuud van Asseldonk <ruuda@google.com>2016-01-28 22:27:41 +0100
commitf841f061ecdff7c5fd791f164b4d873399621bde (patch)
treeb95d09bd6f15ab131ad77040de6713f6e401d7bf /src/rustllvm/RustWrapper.cpp
parentb8b18aac12214d7135a083e2e6946aa197185d49 (diff)
downloadrust-f841f061ecdff7c5fd791f164b4d873399621bde.tar.gz
rust-f841f061ecdff7c5fd791f164b4d873399621bde.zip
Improve message for rustc --explain E0507
E0507 can occur when you try to move out of a member of a mutably
borrowed struct, in which case `mem::replace` can help. Mentioning that
here hopefully saves future users a trip to Google.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions