diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-16 14:12:57 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-16 14:12:57 +0530 |
| commit | 828ebb805ac9425a45468b996180c6ff88470c4e (patch) | |
| tree | 30e322d4ba5194c11b2907d113784a9c35783c90 /src/rustllvm/RustWrapper.cpp | |
| parent | 43bb514984a00c7a7f976d8a77d8ce4f7b1c5735 (diff) | |
| parent | 0bf9fbb6dd8d9762e8248aa3b61916547e59b5dd (diff) | |
| download | rust-828ebb805ac9425a45468b996180c6ff88470c4e.tar.gz rust-828ebb805ac9425a45468b996180c6ff88470c4e.zip | |
Rollup merge of #26819 - P1start:ref-suggestion, r=nikomatsakis
The error now looks like this:
```
<anon>:4:9: 4:10 error: use of moved value: `x` [E0382]
<anon>:4 foo(x);
^
<anon>:3:9: 3:10 note: `x` moved here because it has type `Box<i32>`, which is moved by default
<anon>:3 let y = x;
^
<anon>:3:9: 3:10 help: use `ref` to take a reference instead:
<anon>: let ref y = x;
```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
