diff options
| author | Ruud van Asseldonk <ruuda@google.com> | 2016-01-28 22:23:47 +0100 |
|---|---|---|
| committer | Ruud van Asseldonk <ruuda@google.com> | 2016-01-28 22:27:41 +0100 |
| commit | f841f061ecdff7c5fd791f164b4d873399621bde (patch) | |
| tree | b95d09bd6f15ab131ad77040de6713f6e401d7bf /src/rustllvm/RustWrapper.cpp | |
| parent | b8b18aac12214d7135a083e2e6946aa197185d49 (diff) | |
| download | rust-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
